Community

Delete a comment

Delete a comment, with its replies. Its author may, and so may the author of the work it is on. Takes a key holding community:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

DELETE
/v1/community/comments/{id}
DELETE
/v1/community/comments/{id}
Delete a comment
Delete a comment, with its replies.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
idstringrequired
Delete a comment
curl --request DELETE \
  --url 'https://api.auray.ai/v1/community/comments/{id}' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "id": "<string>",
  "deleted": true,
  "request_id": "<string>"
}
Delete a comment
curl -X DELETE https://api.auray.ai/v1/community/comments/8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "id": "<string>",
  "deleted": true,
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — community:write — Account offers it unticked; the desktop's session key holds it.

Path Parameters

idstringrequired

Response

application/json

OK.

objectstringrequired
One of "comment".
idstringrequired
deletedbooleanrequired
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

Delete a comment
curl -X DELETE https://api.auray.ai/v1/community/comments/8c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "id": "<string>",
  "deleted": true,
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.