User Account Associations API Definition - v1¶
Click to view
Do the following to try out the REST APIs with your local instance of WSO2 Identity Server.
- Click on Authorize button and provide 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.
If you want to try-out the embedded postman collection with "Run in Postman" option, following state is expected in the testing Identity Server.¶
- A user named
john
, with the passwordpass123
, exists in the tenantcarbon.super
. - The id value for the local user association
john
is used for some API calls, which is assumed asUFJJTUFSWS9qb2hu
(This value 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 IdP with the name
ExternalIdP
, exists in the tenantcarbon.super
. - A federated association with a user in the above IdP, 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.