Logo
30 days challenge API Documentation

Update User Information

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

Updates user state in Qodex: * Activate User: Creates a new user on your Qodex team, if one does not already exist, and activates the user to authenticate into your Qodex team. * Deactivate User: Removes a user from your Qodex team and deactivates their account, blocking the account from authenticating into Qodex.

The user account and the data corresponding to it will not be deleted. To permanently delete the user account and their data, [contact Qodex support] * Reactivate Users: Reactivates an existing deactivated user by unblocking the account's authentication into Qodex and adds the account back on to your Qodex team.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "id": "405775fe15ed41872a8eea4c8aa2b38cda9749812cc55c99", "userName": "{{userEmail}}", "name": { "givenName": "Test", "familyName": "User" }, "externalId": "23123123", "active": false, "meta": { "resourceType": "User", "created": "2021-02-22T04:24:13.000Z", "lastModified": "2021-02-22T04:24:13.000Z" } }



Curl
curl -X PATCH 'https://api.getpostman.com/scim/v2/Users/undefined' -H 'Authorization: undefined' -d '{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","value":{"active":false}}]}'

ENDPOINTS