Rekamedika Docs
Session

POST /revoke-session

POST
/api/auth/revoke-session

Revoke a single session

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

token*string

The token to revoke

Response Body

application/json

curl -X POST "https://example.com/api/auth/revoke-session" \  -H "Content-Type: application/json" \  -d '{    "token": "string"  }'
{  "status": true}

Is this page helpful?