Skip to content

Revoke

POST
/oauth/revoke
curl --request POST \
--url https://example.com/oauth/revoke \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data token= \
--data token_type_hint=
Media typeapplication/x-www-form-urlencoded
Body_revoke_oauth_revoke_post
object
token
Token
string
""
token_type_hint
Token Type Hint
string
""

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}