Skip to content

Remove from Favourites

Remove folder from your list of favourite folders.

Endpoint

http
DELETE /api/v1/favourites/{folder_id}

Parameters

Path parameters

ParameterTypeRequiredDescription
folder_iduuidyesThe uuid of the folder to remove from favourites list

Request example

sh
curl --location --request DELETE 'https://files.ro/api/v1/favourites/{folder_id}' \
--header 'Authorization: Bearer {token}'

Response

json
{
  "type": "success",
  "message": "Folder was successfully removed from your favourites folders"
}
json
{
  "type": "error",
  "message": "You are not authorized"
}
json
{
  "message": "The given data was invalid.",
  "errors": {
    "field": [
      "The field is required."
    ]
  }
}