{
"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"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-schema/cognito-idp-revoke-token-request-schema.json",
"title": "RevokeTokenRequest",
"description": "RevokeTokenRequest schema from Amazon Cognito"
}