User Update

PUT https://core.amplitude.com/scim/1/Users/:id

Updates the Amplitude user with the given ID. id must be a valid email address, 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 is removed from the organization and all access is lost. If this action is taken on a pending user (an invited user that hasn't accepted the invitation), 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

{&quot;schemas&quot;:[&quot;urn:ietf:params:scim:schemas:core:2.0:User&quot;],&quot;id&quot;:&quot;datamonster@amplitude.com&quot;,&quot;userName&quot;:&quot;datamonster@amplitude.com&quot;,&quot;name&quot;:{&quot;givenName&quot;:&quot;Datamonster&quot;,&quot;familyName&quot;:&quot;Monster&quot;},&quot;active&quot;:false,&quot;emails&quot;:[{&quot;primary&quot;:true,&quot;value&quot;:&quot;datamonster@amplitude.com&quot;}],&quot;groups&quot;:[],&quot;meta&quot;:{&quot;resourceType&quot;:&quot;User&quot;}}