Skip to content

Deactivate an authorised user

Request

De-activate the user identified by the user_id path parameter.

Deactivated users cannot log in or execute any operations with their credentials.

Deactivation is identity-specific and if the user belongs to multiple identities, deactivation applies only to the identity that the caller of this operation is representing. Deactivating a user on one identity does not affect other identities.

Security
auth_token and api-key
Path
user_idstring(UserId)^[0-9]+$required

The unique identifier for the user.

curl -i -X POST \
  'https://sandbox.weavr.io/multi/users/{user_id}/deactivate' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

Success - No Content.

Headers
request-refstringrequired

A request identifier. Providing this reference when contacting our support team will help us investigate your query.

Response
No content