/{app_slug}/v1/me/sessions/{id}AuthRevoke a session
Sign the EndUser out of one device. The session's refresh token is destroyed; its access token expires on its TTL. Requires the `session.revoke` permission when the app's `enforce_app_permissions` flag is on; otherwise (the default) any valid token can call this. Self-revoke (revoking your own session as a member with no perms) is something to enforce separately if needed; this guard does not exempt the principal from the role check.
Path parameters
id*stringId of the session.
app_slug*stringSlug of the app.
Response · 204
Session revoked.
Example
Request
DELETE https://api.auth.productcraft.co/{app_slug}/v1/me/sessions/{id}
Authorization: Bearer YOUR_TOKEN