/admin.users.assign
POST
/admin.users.assign
admin.usersadmin
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://slack.com/api/admin.users.assign' \
--header 'token;' \
--data-urlencode 'team_id=' \
--data-urlencode 'user_id='
Response Response Example
200 - response
{
"ok": true
}
Request
Header Params
token
stringÂ
required
admin.users:write
Body Params application/x-www-form-urlencoded
channel_ids
stringÂ
optional
is_restricted
stringÂ
optional
is_ultra_restricted
stringÂ
optional
team_id
stringÂ
required
T1234
) of the workspace.user_id
stringÂ
required
Responses
Modified at 2023-08-15 05:39:45