Route
| Método | Rota | Descrição |
|---|---|---|
| DELETE | /v1/folders |
Delete Gallery. |
Headers
| Param | Type | Description | Required |
|---|---|---|---|
| Authorization | String |
*Authorization token to access the route. Ex: Bearer eyJ0eXAiOiJKV1QiLC… |
Yes |
* Token generated by the authentication route
Query params
| Param | Type | Description | Required |
|---|---|---|---|
| uuid | String |
Gallery uid | Yes |
Response
– Response when deleting gallery (Status: 200)
1
– Error response due to gallery requested for deletion not being empty (Status: 400)
{
"error": "Folder is not empty'"
}
– Error response when not finding specified folder (Status: 404)
{
"error": "Folder not found"
}
– Error response for some internal error (Status: 500)
{
"error": "Internal Server Error"
}