CmdID / aws / aws cognito-idp
aws cognito-idp revoke-token
Revokes all of the access tokens generated by, and at the same time as, the specified refresh token. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--client-idThe ID of the app client where the token that you want to revoke was issued.--client-secretThe client secret of the requested app client, if the client has a secret.--tokenThe refresh token that you want to revoke.