Delete All
It delete all available user notifications.
Endpoint
http
DELETE /api/v1/notificationsRequest example
sh
curl --location --request DELETE 'https://files.ro/api/v1/notifications' \
--header 'Authorization: Bearer {token}'Response
json
{
"type": "success",
"message": "All your notifications was deleted."
}json
{
"type": "error",
"message": "You are not authorized"
}json
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is required."
]
}
}