Remove Member
/api/v1/queues/{id}/members/{userId}Removes a user from a queue. Their other queue memberships are unaffected, and the account itself is not deleted.
A user may be both an agent and a manager of the same queue. Pass membershipRole to remove only that role and keep the other; omit it to remove every membership the user holds on the queue.
Removing someone who does not hold that membership returns 404.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
idstringrequiredQueue ID.
Example:
userIdstringrequiredUser ID to remove.
Example:
membershipRolestringoptionalWhich membership to remove:
agentormanager. Omit to remove the user from the queue entirely (both roles).Allowed values:"agent", "manager"
Example:agent
Responses
200OK
OK
requestIdstringrequiredUnique ID for this request. Quote it when reporting a problem.
messagestringrequired
401Unauthorized
Unauthorized
messagestringrequired
404Not Found
Not Found
messagestringrequired
429Too Many Requests
Too Many Requests
messagestringrequired