MessageOS
APIWebhooksId

Remove a webhook

DELETE
/webhooks/{id}

Removes the endpoint and revokes its signing secret. It stays in the list with status disabled, receives nothing, and cannot be resumed or changed. Removing it again returns 204. Scope: webhooks:manage.

Authorization

bearer
headerAuthorizationBearer <mosc_...>

A client key (mosc_).

Path Parameters

id*integer

The endpoint id.

Range0 < value

Response Body

The endpoint was removed. There is no body.

Example request

curl -X DELETE 'https://api.messageos.ai/v1/webhooks/42' \  -H 'Authorization: Bearer mosc_...'

Example response

This answer has no body.