Update User Identity Provider
PUT {{apiPath}}/environments/{{envID}}/users/{{userID}}/identityProvider
To the authoritative identity provider ID associated with a single user resource, the PUT /environments/{{envID}}/users/{{userID}}/identityProvider
operation updates the identity provider ID for the user resource with the ID specified in the request URL.
Note: When the actor is self, a 403 status is returned and no change to the authoritative identity provider is persisted.
Prerequisites
- See Users and User Operations for important overview information.
Property | Type | Required? |
---|---|---|
id | String | Required |
See the User operations data model for full property descriptions.
Request Body
{"id"=>"{{idpID}}"}
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/users/b4b5facc-6033-4149-ae5e-b80afc41f34f/identityProvider"},"user":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/users/b4b5facc-6033-4149-ae5e-b80afc41f34f"}},"id":"cde5291c-21e1-4603-9af6-982559b896f6","type":"FACEBOOK"}