Goleste coșul
Goleste imediat tot conținutul coșului.
Endpoint
http
DELETE /api/v1/trash/dumpExemplu de cerere
sh
curl --location --request DELETE 'https://files.ro/api/v1/trash/dump' \
--header 'Authorization: Bearer {token}'Răspuns
json
{
"type": "success",
"message": "The trash was successfully dumped."
}json
{
"type": "error",
"message": "You are not authorized"
}json
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is required."
]
}
}