Deplo
API Reference

Logout user and revoke refresh token

POST
/auth/logout
AuthorizationBearer <token>

Enter your JWT token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

refreshToken*string

Refresh token received during authentication

Response Body

application/json

curl -X POST "https://loading/auth/logout" \  -H "Content-Type: application/json" \  -d '{    "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."  }'
{
  "success": true
}
Empty