Skip to content

Deactivate a 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.

This operations is not final and a user can be re-activated using the userActivate operation. Note that another active user would need to log in so as to re-activate the de-activated user.

Please contact our support team or your account manager to request access to this endpoint.

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/backoffice/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