delete
https://{host}/notifications/delete/all
Delete All Notifications
Deletes all notifications for the authenticated user. This operation is irreversible and will remove all notification records associated with the user account.
HTTP Method and URL
Method: DELETE
URL: {{host}}/notifications/delete/all
Authentication Requirements
This endpoint requires authentication. Include a valid user-token in the request headers or as specified by your environment setup.
Example Request
DELETE {{host}}/notifications/delete/all
Headers:
user-token: <your_token_here>
Example Successful Response
{
"success": true,
"message": "All notifications deleted successfully."
}
Error Responses
-
401 Unauthorized: Authentication token is missing or invalid.
-
403 Forbidden: User does not have permission to delete notifications.
-
500 Internal Server Error: An unexpected error occurred on the server.
Usage Notes
-
This action cannot be undone. Ensure that you intend to permanently remove all notifications before proceeding.
-
Only notifications for the authenticated user will be deleted.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
