Delete
DELETE /assignments/:assignment
An Assignment is a link between a conversation and an assigned user (aka assignee).
Examples
Remove an Assigned User from a Conversation
Request
DELETE /assignments/aB6MA91
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
-H Authorization:"Bearer {token}" \
-X DELETE /assignments/aB6MA91
Response
Status
200
Response Type
Example Body
{
"@type": "ConversationAssignment",
"@context": "/contexts/ConversationAssignment.jsonld",
"id": "/assignments/aB6MA91",
"assignee": {
"@type": "User",
"@context": "/contexts/User.jsonld",
"id": "/users/wqyODPA",
"name": "Chuck Norris",
"firstName": "Chuck",
"lastName": "Norris",
"email": "chuck@textus.example",
"avatar": null,
"automatedActor": false,
"hasPassword": false,
"discarded": false,
"settings": {
"customSettings": {}
},
"memberships": "/users/wqyODPA/memberships"
},
"assigner": "/users/wqyODPA"
}