Snapvisor Docs

Unregister a push device

Stop sending pushes to an APNs device token registered by the authenticated user, as when they sign out of the iOS app. Removing a token that is not registered, or that belongs to someone else, changes nothing and still succeeds. A personal access token or the Snapvisor iOS app's own OAuth session may call it; other OAuth clients are refused.

DELETE
/me/devices/{token}

Stop sending pushes to an APNs device token registered by the authenticated user, as when they sign out of the iOS app. Removing a token that is not registered, or that belongs to someone else, changes nothing and still succeeds. A personal access token or the Snapvisor iOS app's own OAuth session may call it; other OAuth clients are refused.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Path Parameters

token*string

The APNs device token, as hexadecimal.

Match^[0-9a-fA-F]{64,200}$

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/me/devices/string"
Empty