Token
Logout
Revoke the current session token. Subsequent requests with this token return 401.
App keys are not session tokens and cannot be revoked here:
- Hashed public keys (ld_live_ / ld_test_): POST /v2/appkeys/{id}/revoke (this route is also deny-all for public keys via scopes).
- JWT app keys: delete from the dashboard (Prisma deleteAppKey).
post/v2/token/logout
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
authorizationstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 7 revisions of this API.