Cases
Case Delete
Delete a case using GET /api/v2/{company}/case/{case_id}/delete.
Case Delete
Use this endpoint to delete a case by its unique identifier.
Authorization
All requests to this endpoint require authentication using a Bearer Token.
Use your NextSign API key as the bearer token for this endpoint.
Endpoint
GET https://www.nextsign.dk/api/v2/{company}/case/{case_id}/deletePath Parameters
| Parameter | Type | Description |
|---|---|---|
company | string | Your company identifier |
case_id | string | Unique identifier of the case to delete |
Example Request
curl --location 'https://www.nextsign.dk/api/v2/{company}/case/{case_id}/delete' \
-H 'Authorization: Bearer YOUR_API_KEY'Example Response
{
"status": "removed",
"return": {
"acknowledged": true,
"deletedCount": 1
}
}Response Fields
| Field | Type | Description |
|---|---|---|
status | string | Status of the deletion operation |
return | object | Deletion result from the database |
return.acknowledged | boolean | Whether the delete operation was acknowledged |
return.deletedCount | number | Number of deleted cases |
Common Error Responses
Missing case id:
{
"errors": [
{
"code": 400,
"message": "Bad Request",
"description": "Missing case id"
}
]
}Case not found:
{
"message": "Case not found"
}