Deactivate User

Deactivate a Slack user.

Input

Field Definition Type Required

User

ID s unique Slack ID.
Tip

Use the Search User card to find a user's Slack ID by their username or email address.

Text

TRUE

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Slack Admin connector

Workflow elements

Apps for admins