{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/user-pools-revoke-token-request-schema.json",
"title": "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"
]
}