Replace user
PUT/nevisidm/api/scim/v1/:clientExtId/Users/:id
Since: 8.2611.0, 9.2611.0
Replaces a user with the SCIM representation provided in the request body, as defined by RFC 7644 section 3.5.1.
The request body describes the user in full. Any attribute, credential, profile, authorization or custom property that the representation does not contain is removed from the user - not left as it was. Clients that want to change individual attributes without resending the whole resource should use PATCH instead. The recommended way to use this endpoint is to GET the user, edit the returned representation and send it back: replacing with an unedited representation from GET is guaranteed to change nothing.
Attributes that must be present. A request missing any of them is rejected with 400 and scimType invalidValue, listing every missing attribute at once:
userName, andnamewith bothname.familyNameandname.givenName- the
urn:nevis:idm:scim:schemas:v1:extension:Userextension object - on every credential sent:
type,state, and the secret its type declares (for examplepasswordforPASSWORD,genericforGENERIC) - on every profile sent:
state
Omitting an attribute deletes it everywhere else: the remaining core and extension attributes, emails, phoneNumbers, addresses, credentials, profiles, all three kinds of authorization, and the custom properties of the user, of each credential, of each profile and of each application authorization. An empty list or an empty object means the same as omitting it. If an externalId is omitted (credential, profile, authorization), it is considered as a create operation for that entity.
On success, returns the full SCIM representation of the replaced user, identical to what a subsequent GET returns.
Request
Responses
- 200
- 400
- 404
- 422
User replaced successfully
Invalid SCIM request
SCIM user not found
Request body parse error