API referenceInbox
Delete Inbox Notification
Remove notifications from the inbox. This archives them rather than hard-deleting, so the send record is kept. Pass id or ids. App connections need the booking:write or inventory:write scope.
POST
/inbox/notifications/deletecurl -X POST "https://dash.lockii.app/api/v1/inbox/notifications/delete" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string",
"ids": [
"string"
]
}'Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Body
application/json
idstringInbox notification ID
idsstring[]Inbox notification IDs to archive
Response
application/json
JSON result for this operation.
object
{}