younifyd
Menu

Deactivate a user

Deactivate a user

POST/v1/users/db/{user_id}/deactivate

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Deactivate a user action (under users).
  3. Fill in the fields below, then reference the result from later steps as {{deactivateAUser.response.data}}.

Request

Path parameters

user_idstringrequired

The name of the user.

Request body

Enter the body as JSON in the step's Body field.

revoke_keyboolean

Whether the API key should be revoked when deactivating the user.

Default false

json
{
  "revoke_key": false
}

Response

Returns 200 with a any. Read it in later steps with {{deactivateAUser.response.data.<field>}}.

Need more? See the Weaviate guide for connection setup and behaviour shared by every action.