Gamma API

Unregister a device from push

DELETE
/api/account/push/subscriptions/{id}

Deletes one of the caller's devices. An id that is not theirs, or already gone, changes nothing.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

id*string

Response Body

Done; no content.

Example Request
curl -X DELETE 'http://localhost:3000/api/account/push/subscriptions/string'
Example Response
Empty