RevokeTokenRequest is a JSON Structure definition published by Amazon Cognito, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-structure/user-pools-revoke-token-request-structure.json",
"name": "RevokeTokenRequest",
"description": "RevokeTokenRequest schema from Amazon Cognito API",
"type": "object",
"properties": {
"Token": {
"allOf": [
{
"$ref": "#/components/schemas/TokenModelType"
},
{
"description": "The refresh token that you want to revoke."
}
]
},
"ClientId": {
"allOf": [
{
"$ref": "#/components/schemas/ClientIdType"
},
{
"description": "The client ID for the token that you want to revoke."
}
]
},
"ClientSecret": {
"allOf": [
{
"$ref": "#/components/schemas/ClientSecretType"
},
{
"description": "The secret for the client ID. This is required only if the client ID has a secret."
}
]
}
},
"required": [
"Token",
"ClientId"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.