Docs

Start here

Stop sending here

DELETE/v1/webhooks/{id}on https://api.auray.ai/v1

Stop sending here

#Authentication

Authorization: Bearer auray_sk_… — webhooks:write.

#Request

#Path parameters

NameTypeRequiredDescription
idstringyes

#Example request

curl -X DELETE https://api.auray.ai/v1/webhooks/photo_docs-mtpb1vnh \
  -H "Authorization: Bearer $AURAY_API_KEY"

#Responses

#200 OK

OK

FieldTypeRequiredDefaultDescription
idstringno—
deletedbooleanno—
existedbooleanno—

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

#401 Unauthorized

#403 Forbidden

#404 Not Found

#429 Too Many Requests

#500 Internal Server Error

webhook_delete_failed — the delete did not go through. It used to answer 200 with existed: false, reporting success for a write that never happened while the endpoint went on receiving callbacks. Retry, and read GET /webhooks to see whether it survived.

The error body: error, message, docs (the entry that explains it) and request_id.

#503 Service Unavailable

#Status codes

StatusMeaning
200OK
401Unauthorized
403Forbidden
404Not Found
429Too Many Requests
500webhook_delete_failed — the delete did not go through.
503Service Unavailable

Every refusal names its code, and every code is explained at Errors.

Start typing to search every page of the documentation.

Up arrow Down arrow to moveEnter to openEscape to close