Skip to content

Logs out the current user and deletes the specific session for the given refresh token.

POST
/api/auth/v1/logout
curl --request POST \
--url https://example.com/api/auth/v1/logout \
--header 'Content-Type: application/json' \
--data '{ "refresh_token": "example" }'

Relies on the client to drop any auth tokens.

Media type application/json
object
refresh_token
required
string
Example generated
{
"refresh_token": "example"
}

Auth & refresh tokens.