Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/cognito-idp/admin-user-global-sign-out.rst
1567 views
**To sign out a user as an admin**

The following ``admin-user-global-sign-out`` example signs out the user [email protected]. ::

    aws cognito-idp admin-user-global-sign-out \
        --user-pool-id us-west-2_EXAMPLE \
        --username [email protected]

For more information, see `Authentication with a user pool <https://docs.aws.amazon.com/cognito/latest/developerguide/authentication.html>`__ in the *Amazon Cognito Developer Guide*.