Skip to main content Link Search Menu Expand Document (external link)

Updated Thu Sep 22nd 2022, 19:00 UTC

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

ConversationAssignment

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"
}

© 2022 TextUs