WebhooksDelete a webhook

Webhooks

Delete a webhook

Deletes a webhook. It receives nothing more, not even the deliveries that were still waiting for a retry, and the call returns no body.

DELETEhttps://api.sofia-post.com/api/v1/webhooks/{id}
DELETE/v1/webhooks/{id}

This request acts on your real account.

curl -X DELETE 'https://api.sofia-post.com/api/v1/webhooks/{id}' \
  -H "Authorization: Bearer $SOFIA_API_KEY"

Authorizations

  • Authorizationstringrequired

    Your personal key or OAuth access token, sent as Bearer <token>.

Path parameters

  • idstringrequired

    Identifier of the webhook.

Response

204

Deleted.

401

The token is missing, unknown, expired or revoked.

403

The token does not have the webhooks:write scope.

404

webhook_not_found: unknown, or it belongs to another application.

4XXapplication/json

Any other error, in the error envelope.