Skip to main content
POST
/
auth
/
logout
/
{userId}
User Logout
curl --request POST \
  --url https://api.promptmetrics.dev/auth/logout/{userId} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

Response

User logged out successfully