Users
Admin Users Set Admin
Set an existing guest, regular user, or owner to be an admin user.
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 designate as an admin.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin.users.setAdmin" \ -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"}
