Log out

Invalidate a refresh token.

Body·
required
application/json
  • refreshToken
    Type: string
    required

    Refresh token to invalidate

Responses
  • 204

    Logged out successfully

Request Example for post/auth/logout
curl https://api.lira.com/api/v1/auth/logout \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsImlhdCI6MTc2MTEyMzQ1Nn0.refresh-token-signature"
}'
No Body