Notifications

Delete a notification

Delete a specific notification by its ID for the authenticated user.

DELETE
/notifications/{notification_id}
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Path Parameters

notification_idstring

Response Body

Examples

curl -X DELETE "https://v2.api.piktid.com/notifications/string"
{
  "id": 0,
  "name": "string",
  "timestamp": 0,
  "data": {}
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty