Users
Admin Users Set Owner
Set an existing guest, regular user, or admin user to be a workspace owner.
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
Id of the user to promote to owner.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin.users.setOwner" \ -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"}
