User Account Associations API Definition¶
Click for instructions
Follow the steps given below to try out the REST APIs with your local instance of WSO2 Identity Server.
- Click Authorize and provide the desired values for authentication.
- Expand the relevant API operation and click the Try It Out button.
- Fill in relevant sample values for the input parameters and click Execute. You will receive a sample curl command with the sample values you filled in.
- Add a
-k
header to the curl command and run the curl command on the terminal with a running instance of WSO2 IS.
Before trying out the embedded postman collection with the "Run in Postman" option, make sure the following conditions are met.
- A user named
john
, with the passwordpass123
, exists in the tenantcarbon.super
. For instructions on creating a user, see here. -
The id value for the local user association
john
is used for some API calls, which is assumed asUFJJTUFSWS9qb2hu
Info
This id value for the local user association is returned when a GET request is made to
/me/associations
or/{user-id}/association
API, once the association betweenjohn
andadmin
users are created with the POST request to the/me/associations
API. -
An identity provider with the name
ExternalIdP
, exists in the tenantcarbon.super
. For instructions on creating a new identity provider, see here. - A federated association with a user in the above identity provider exists for the
admin
user. The id of this association (which is equal to2e053351-0d69-476e-81df-04a9cfdfb50e
in the provided postman samples) is used for some API calls. This id can be retrieved by making a GET request to the/me/federated-association
(or/{user-id}/federated-association
) API.