Skip to content

Unsubscribe (REST hook): the subscription and its history go

DELETE
/v1/integration-api/subscriptions/{id}
curl --request DELETE \
--url https://api.academy.example.com/v1/integration-api/subscriptions/example \
--header 'Authorization: Bearer <token>'

Versioned integration contract.

id
required
string

Success

Media typeapplication/json
object
ok
required
boolean

Example

{
"ok": true
}

Error; error and message identify the reason

Media typeapplication/json
object
error
required

Stable code, e.g. insufficient_scope, not_found, validation_failed

string
message
string

Example generated

{
"error": "example",
"message": "example"
}