Skip to content

Delete an Album

gerome12 edited this page Aug 28, 2018 · 8 revisions

Used to delete completely an album (only for an admin).

URL : /album/{album}

Method : DELETE

Auth Required : Authorization with a JWT Bearer token with the user as the sub claim. The user must be an admin of the {album}.

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 is not found

  • Status : 404 Not Found
Clone this wiki locally