Skip to Content
Open Retainer
Comments

Delete a comment

DELETE
/v1/comments/{id}

The author or a user with admin scope can delete it. Requires the write scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Path Parameters

id*string

Retainer identifier.

Formatuuid

Header Parameters

Idempotency-Key?string

Reuse the same key with the same request to retry.

Length1 <= length <= 200

Response Body

Successful response.

application/json
  1. response
id*string
Formatuuid
deleted*boolean
Example Request
curl -X DELETE 'https://retainer.tamloot.cc/v1/comments/d2c0648c-2994-4f16-bdf1-a0136be6037d' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "deleted": true}