Walletguide
DevelopersAPIReferencenotifications

Delete notification

A person deletes their own notifications, and nobody deletes anyone else's. Deletion is permanent; to keep the history, mark it read instead.

DELETE
/wallets/{walletId}/notifications/{id}

Authorization

bearerAuth
headerAuthorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

Path Parameters

walletId*string

Row uuid

Formatuuid
id*string

Row uuid

Formatuuid

Response Body

The deleted notification

application/json
  1. response
id*string
Formatuuid
walletId*string
Formatuuid
firestoreId*string|null
type*string
recipientUserId*string
readTime*|
Formatdate-time
payload*|null
createdTime*|
Formatdate-time
createdUserId*string|null
lastUpdatedTime*|
Formatdate-time
lastUpdatedUserId*string|null
Example Request
curl -X DELETE 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/notifications/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "walletId": "0ecad4a2-3549-43fb-807e-9ff033247480",  "firestoreId": "string",  "type": "string",  "recipientUserId": "string",  "readTime": "2019-08-24T14:15:22Z",  "payload": {    "property1": null,    "property2": null  },  "createdTime": "2019-08-24T14:15:22Z",  "createdUserId": "string",  "lastUpdatedTime": "2019-08-24T14:15:22Z",  "lastUpdatedUserId": "string"}