Logo
Zoom Public API Documentation

Assign a role

POST {{baseUrl}}/contact_center/roles/:roleId/users

Use this API to assign users to a role. Roles have unique privileges that assigned users have access to. For example, an Administrator or Agent role.

Scopes: contact_center_role:write:admin

Rate Limit Label: Medium

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "users": [ { "user_id": "<string>", "display_name": "<string>", "user_email": "<email>" }, { "user_id": "<string>", "display_name": "<string>", "user_email": "<email>" } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/contact_center/roles/:roleId/users' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"user_ids":["\u003cstring\u003e","\u003cstring\u003e"]}'

ENDPOINTS