Revoke presence user tokens
Revokes one presence token by its id, or every live presence token of one person by externalUserId, for example when they sign out. Send one of the two. Ending a key’s sessions in the console also ends the tokens it issued or is bound to. Needs the user_tokens.presence.write scope.
On this route, id may also be a presence device’s upd_ id. Revoking a token also revokes the devices registered with it, and revoking a person revokes all their devices. A revoked device can no longer refresh presence tokens; the app registers a new one the next time it is opened.
Error codes
A missing or unknown key answers 401, where error is a short sentence rather than a code.
Requires a secret (sk_) key. A publishable key receives 403 secret_key_required.
Authentication
Send the API key as a Bearer token. Each operation states whether a publishable key is enough or a secret key is required. A scoped publishable key has Verification flow access, the fixed set flow.run, flow.config.read and verifications.status.read; a scoped secret key reaches what its scopes allow.