Deactivate a user

PATCH https://api.getpostman.com/scim/v2/Users/{{userId}}

Removes a user from your Qodex team and deactivates the account. This blocks the user from authenticating in to Qodex.

Request Body

{"schemas"=>["urn:ietf:params:scim:api:messages:2.0:PatchOp"], "Operations"=>[{"op"=>"replace", "value"=>{"active"=>false}}]}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],"id":"405775fe15ed41872a8eea4c8aa2b38cda9749812cc55c99","userName":"taylor-lee@example.com","name":{"givenName":"Taylor","familyName":"Lee"},"externalId":"12345678","active":false,"meta":{"resourceType":"User","created":"2021-02-22T04:24:13.000Z","lastModified":"2021-02-22T04:24:13.000Z"}}