Skip to content
Status

Detach webhook

DELhttps://app.shuttleglobal.com/c/api/instances/{instance_key}/webhooks/{id}

DELETE
/webhooks/{id}

Removes the URL with this id from the instance’s webhook_target. The id is the one returned when you attached the URL.

id
required
string
e.g. "5d41402abc4b2a76b9719d911017c592"
Pattern /^[a-f0-9]{32}$/

The webhook id returned by Attach webhook

Webhook successfully detached

Authentication required

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Example
{
"code": "UNAUTHORIZED",
"message": "Unauthorised"
}

Was this page helpful?