Delete Assignment group
- To delete the assignment group from the collection, use the below API.
- collectionId is the id of the collection from where the document will be deleted.
- documentId is the id of the document to be deleted from the collection. This is the “upsertedId” from the add collection API, for example: ITSM-6bf74426db7e430047fc7db33c9619340
**Endpoint:**
http://{API_URL}/external/api/collections/:collectionId/documents/:documentId
**Method:** “DELETE”
**Response:** {
"status": "success",
"document": {
"acknowledged": true,
"deletedCount": 1
}
}