Skip to main content
POST
/
admin
/
logout
Logout and revoke refresh token
curl --request POST \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/admin/logout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "refresh_token": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Refresh token to revoke

refresh_token
string
required

Response

OK

The response is of type object.