Skip to navigation

Unregister a device token

View as Markdown

Removes the token (used on sign-out). Idempotent. id is the token itself.

Authentication

AuthorizationBearer

JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.

OR
AuthorizationBearer

Lucanto API key. Two prefixes:

  • lct_pat_<random><checksum> — personal access token (owner: User)
  • lct_live_<random><checksum> — workspace token, live data

Issue keys at /settings/api_keys (personal) or /:workspace_id/settings/api_keys (workspace). Plaintext token is shown once and never again.

Path parameters

idstringRequired
The APNs device token to remove.

Response

Unregistered.

Errors

401
Unauthorized Error
403
Forbidden Error