Community

Delete a collection

Delete one of your collections; the works in it are untouched. Takes a key holding community:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

DELETE
/v1/community/collections/{id}
DELETE
/v1/community/collections/{id}
Delete a collection
Delete one of your collections; the works in it are untouched.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
idstringrequired
Delete a collection
curl --request DELETE \
  --url 'https://api.auray.ai/v1/community/collections/{id}' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "id": "<string>",
  "deleted": true,
  "request_id": "<string>"
}
Delete a collection
curl -X DELETE https://api.auray.ai/v1/community/collections/5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e \
  -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 "collection".
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 collection
curl -X DELETE https://api.auray.ai/v1/community/collections/5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e \
  -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.