Desks
Update desk
Updates a desk's name and the set of users assigned to it.
Parameters. id (path): the desk to update. name: a new name for the desk. userIds: the full set of user IDs that should be assigned to the desk. Any user not in this list is removed from the desk. Returns. { "userDesk": { ... } } with the updated desk. Example. PUT /api/desks/5 with { "name": "Desk-English", "userIds": [2] }
put/{sub_domain}/api/desks/{id}
Request
- Base URLhttps://api.commpeak.com/dialer
- URLhttps://api.commpeak.com/dialer/{sub_domain}/api/desks/{id}
- AuthAPI key in header Authorization
Path parameters
idinteger required
Desk ID.
sub_domainstring required
Dialer Name (subdomain)
Request body
Response
Successful Response
Example response
{
"userDesk": {
"id": 93,
"name": "Demo Desk",
"userIds": [
969,
178,
721,
795,
796
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.