User Update
PATCH https://core.amplitude.com/scim/1/Users/:id
PUT
Updates an existing user with the given ID within Amplitude. The ID must be a valid email, and the user must have been previously invited to Amplitude.
If the active
schema field is set to false
on the request body, the user will be removed from the organization and all access is lost. If this action is taken on a Pending User (i.e. invite has been sent but has not yet accepted the invite), the invitation is revoked.
Request Body
{"schemas"=>["urn:ietf:params:scim:schemas:core:2.0:User"], "id"=>"<USER EMAIL>", "userName"=>"<USER EMAIL>", "name"=>{"givenName"=>"<USER GIVEN NAME>", "familyName"=>"<USER FAMILY NAME>"}, "active"=>true, "emails"=>[{"value"=>"<USER EMAIL>", "primary"=>true}], "meta"=>{"resourceType"=>"User"}}
RESPONSES
status: OK
{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"id":"datamonster@amplitude.com","userName":"datamonster@amplitude.com","name":{"givenName":"Datamonster","familyName":"Monster"},"active":false,"emails":[{"primary":true,"value":"datamonster@amplitude.com"}],"groups":[],"meta":{"resourceType":"User"}}