Skip to content

Delete an Album

gerome12 edited this page Feb 20, 2019 · 8 revisions

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

URL : /albums/{album_id}

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_id}.

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 user is not a member of the album.

  • Status : 404 Not Found
Clone this wiki locally