Update user status in a Workspace

Update a user's status in the requested Workspace. - Allowed statuses: `ACTIVE` (1) and `SUSPENDED` (2) - If the user is suspended in their default Workspace, the next active Workspace is assigned as the default Workspace. <Warning> You must have **Administrator** access in the requested Workspace to update user statuses. </Warning>

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the /api/v1/authenticate POST request.

Path parameters

user_idstringRequired
workspace_idstringRequired

Request

This endpoint expects an object.
statusobjectRequired

Response

Successfully updated the user status

Errors