Skip to main content
DELETE
/
wallet-pass
/
notifications
/
{id}
Delete wallet pass notification
curl --request DELETE \
  --url https://api.ubpass.co/v1/wallet-pass/notifications/{id} \
  --header 'Authorization: Bearer <token>'
{
  "txId": "1f098faa-8f33-6425-b4ff-533200846d35",
  "timestamp": "24-09-2025 03:57:59",
  "errorCode": "INVALID_OPERATION",
  "errorMessage": "Cannot delete notification with status 'Published'",
  "context": {
    "id": "1f083424-11ed-617f-9513-1b26dc975ee2",
    "status": "Published"
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Headers

x-workspace-id
string

Workspace ID to perform the operation in. If not provided, system will use the first one assigned to the user

Pattern: ^[a-zA-Z0-9-_]+$

Path Parameters

id
string
required

Unique identifier of the notification to delete

Pattern: ^[a-zA-Z0-9-_]+$

Response

Notification deleted successfully