Skip to content

Revoke a refresh token (sign out)

POST
/v1/auth/revoke
curl --request POST \
--url http://localhost:8080/v1/auth/revoke \
--header 'Content-Type: application/json' \
--data '{ "refreshToken": "example" }'

Anonymous. Revokes the presented refresh token and records the sign-out. Idempotent: an unknown or already revoked token still answers 204.

Media typeapplication/json
object
refreshToken
string
Examplegenerated
{
"refreshToken": "example"
}

No Content