Admin

Admin Users Set Regular

POST
/admin.users.setRegular

Set an existing guest user, admin user, or owner to be a regular user.

Authorization

slackAuth admin.users:write
AuthorizationBearer <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 a regular user.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.users.setRegular" \  -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"}