Browse the docs

Delete webhook

DEL /v1/api-gateway/webhook

Removes the registered webhook. Idempotent: returns 204 even when none is registered.

Request

Authentication: your API key in the x-api-key header.

Example request

cURL

curl --request DELETE \
     --url 'https://api.themooncard.com/v1/api-gateway/webhook' \
     --header 'x-api-key: YOUR_API_KEY'

Responses

204 Success

Webhook removed (or none was registered).

401 Error

Missing or invalid credentials, e.g. { "message": "Invalid API Key", "code": "UNAUTHORIZED" }.

The body is the standard error object: see Errors.

500 Error

Unexpected server error. Body is { message: "Internal server error", code: "INTERNAL_SERVER_ERROR" }.

The body is the standard error object: see Errors.

Last updated September 4, 2026