Purpose: /v1.0/tasks/{taskIdentifier}/terminate 

Request URI/v1.0/tasks/{taskIdentifier}/terminate

Method

POST

ParametersDescription

taskIdentifier *
string

(path)

TaskId (Guid) or ExternalTaskId (any string) that identifies the task.

Responses

CodeDescription / Example 
200
{
"Id": "string",
"ExternalTaskId": "string",
"Type": "string",
"State": "string",
"CustomerIdentifier": "string",
"Created": "2019-06-14T09:07:13.054Z",
"QueueStarted": "2019-06-14T09:07:13.054Z",
"Connected": "2019-06-14T09:07:13.054Z",
"InitialModalityType": "string",
"OriginType": "string",
"OriginTypeCustom": "string",
"ContextParameters": [
{
"Name": "string",
"Value": "string"
}
],
"ReservedUserObject": {
"Id": "string",
"DisplayName": "string",
"OrganizationUnitName": "string",
"SipUri": "string",
"UserPrincipalName": "string",
"SecurityIdentifier": "string",
"SamAccountName": "string",
"AgentProfileName": "string",
"ResponsibleSinceLevel": 0,
"SelectionAlgorithm": "string"
}
}
CODE
500
{
"Error": {
"Code": "NotInitialized",
"Message": "string"
  }
}
CODE