Remove one of your devices
DELETE /api/member/devices/{deviceId}. Remove one of your devices. Headless LMS Notifications API reference.
For the person who registered the device. Call it before signing out, so the next person on the device receives none of your pushes. 404 when the device is not yours.
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/member/devices/string"null{ "error": "string", "message": "string", "requestId": "string", "issues": [ { "path": "string", "message": "string" } ]}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}{ "error": "string", "message": "string", "requestId": "string"}Register this device for push notifications, or refresh it POST
POST /api/member/devices. Register this device for push notifications, or refresh it. Headless LMS Notifications API reference.
Read what a browser needs to subscribe to push notifications GET
GET /api/member/push-config. Read what a browser needs to subscribe to push notifications. Headless LMS Notifications API reference.