Users
Admin Users Remove
Remove a user from a workspace.
Authorization
slackAuth admin.users:writeAuthorizationBearer <token>
In: header
Scope: admin.users:write
Header Parameters
token*string
Authentication token. Requires scope: admin.users:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
team_id*string
The ID (T1234) of the workspace.
user_id*string
The ID of the user to remove.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin.users.remove" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'team_id=string&user_id=string'{ "ok": "True"}
