Auth API reference

Auth API · End-Users

post/v1/apps/{app_id}/end-users/{user_id}/sessions/revoke-allAuth

Revoke every active session for an end-user.

Path parameters

app_id*string

Id of the app.

user_id*string

Id of the user.

Response · 204

Sessions revoked.

Example

Request

POST https://api.auth.productcraft.co/v1/apps/{app_id}/end-users/{user_id}/sessions/revoke-all
Authorization: Bearer YOUR_TOKEN