Skip to content

Delete a webhook

gerome12 edited this page Jan 23, 2020 · 1 revision

Used to delete a webhook (and his history).

URL : /albums/{album_id}/webhook/{webhook_id}

Method : DELETE

Auth Required : Authorization with a JWT Bearer token with the user as the sub claim.

Success Response

  • Status : 204 No Content

Error Response

If the user is not an admin.

  • Status : 403 Forbidden

If the user is not found.
If the album id does not exist.
If the webhook id does not exist.
If the user is not a member of the album.

  • Status : 404 Not Found
Clone this wiki locally