Skip to content

Unsubscribe from event ​

Last updated View as Markdown

Endpoint: https://api.youcan.shop/resthooks/unsubscribe/{id}

Method: POST

Required Scopes ​

  • delete-rest-hooks

URL Parameters ​

  • id: subscription id

Responses ​

[200] Ok

json
{
  "message": "unsubscribed from event succeed",
  "type": "success"
}

[404] Not Found

json
{
  "status": 404,
  "detail": "Subscription not found",
  "meta": []
}