User Account Associations API Definition¶
Click for instructions
Follow the steps given below to try out the REST APIs with your local instance of MWARE IAM.
- 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
-kheader 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
johnis used for some API calls, which is assumed asUFJJTUFSWS9qb2huInfo
This id value for the local user association is returned when a GET request is made to
/me/associationsor/{user-id}/associationAPI, once the association betweenjohnandadminusers are created with the POST request to the/me/associationsAPI. -
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
adminuser. The id of this association (which is equal to2e053351-0d69-476e-81df-04a9cfdfb50ein 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.