Assign a user to a queue.
Input
Encoding
application/jsondid
string
Required
DID to be assigned.
queueId
integer
Required
The ID of the queue to assign the user to.
Output
Encoding
application/jsonErrors
InvalidAssignment
The specified queue does not exist or is not enabled. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Assign a user to a queue.",
"errors": [
{
"description": "The specified queue does not exist or is not enabled.",
"name": "InvalidAssignment"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"description": "DID to be assigned.",
"type": "string"
},
"queueId": {
"description": "The ID of the queue to assign the user to.",
"type": "integer"
}
},
"required": [
"queueId",
"did"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "tools.ozone.queue.defs#assignmentView",
"type": "ref"
}
},
"type": "procedure"
}