curl --request DELETE \
--url http://localhost:8080/auth/v1/self/revoke \
--header 'Authorization: Bearer <token>'
{
"nextUri": ""
}
{
"nextUri": "https://idp.example.com/logout?..."
}
Authentication
Revoke Self
Revoke the authentication token used for the current request.
DELETE
/
auth
/
v1
/
self
/
revoke
curl --request DELETE \
--url http://localhost:8080/auth/v1/self/revoke \
--header 'Authorization: Bearer <token>'
{
"nextUri": ""
}
{
"nextUri": "https://idp.example.com/logout?..."
}
curl --request DELETE \
--url http://localhost:8080/auth/v1/self/revoke \
--header 'Authorization: Bearer <token>'
{
"nextUri": ""
}
{
"nextUri": "https://idp.example.com/logout?..."
}
Was this page helpful?