Delete annotation

This API is responsible for soft deleting an annotation.

[DELETE]/api/v1/annotations/{id}

Response: The id of the deleted annotation.

Header

Header used on this API are those taken from header standards of TS Digital.

Content-type is accepted in application/json

Query Parameters

Parameters used to make a successful request.

Body

No body is needed to make this request.

Response

On successful response

If successful, the API responds with HTTP code 200(OK) with the following body:

{
  "id": "string"
}
On error response

In the event of an error, the API responds with a body JSON with the following format:

{
  "code": "string",
  "timestamp": "2022-10-28T13:01:00.754Z",
  "message": "string",
  "subErrors": [
    {}
  ]
}

Possible errors are:


Revision #1
Created 2022-10-31 14:53:12 UTC by Endri Qejvanaj
Updated 2022-10-31 14:56:25 UTC by Endri Qejvanaj