Change Status to Unavailable
URL
POST: https://[base-url]/{applicationId}/agents/{userId}/actions/becomeUnavailableHeaders
Authorization: Bearer <accessToken>Request Body
Response
Success -> 200
"Track Agent Status" is disabled for the organization --> 403
The agent status is not "Unavailable" --> 409, 3304
The agent status is not "Available" or "Unavailable" --> 409, 3303 "Invalid user status"
Last updated