Search + K

Command Palette

Search for a command to run...

Sign In

admin_users_setOwner

POST /admin.users.setOwner
Copy endpoint
https://slack.com/api

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

Parameters

header Header Parameters

Name Type
token required

Authentication token. Requires scope: admin.users:write

string

Request Body

application/x-www-form-urlencoded required
{ team_id: string;user_id: string; }

Responses

200 application/json

Typical success response

{ ok: DefsOkTrue
type DefsOkTrue = true
; }
default application/json

Typical error response

{ ok: DefsOkFalse
type DefsOkFalse = false
; }