Swap

Delete a notification

Deprecation notice

This endpoint is deprecated. We recommend using alternative endpoints to ensure continued support and compatibility.

This endpoint allows for the manual removal of a single notification using its id. Notifications are automatically deleted after 600 seconds from their creation in any case.

DELETE
/api/swap/notification/delete
AuthorizationBearer <token>

In: header

idinteger

Response Body

Examples

curl -X DELETE "https://api.piktid.com/api/swap/notification/delete" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 0
  }'
Empty
Empty
Empty