aws-cognito-idp
Verified for current stable LTS
Aws Cognito Idp Command: Admin Delete User
An engineer would use the 'aws cognito-idp admin-delete-user' command when they need to permanently remove a specific user account from an AWS Cognito user pool, typically in response to a user request or to uphold security protocols. Exact CLI syntax to admin delete user using Aws Cognito Idp.
When to use this: An engineer would use the 'aws cognito-idp admin-delete-user' command when they need to permanently remove a specific user account from an AWS Cognito user pool, typically in response to a user request or to uphold security protocols.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
aws cognito-idp admin-delete-user --username <username> --user-pool-id <user_pool_id> aws cognito-idp admin-delete-user --username <username> --user-pool-id <user_pool_id> Command Breakdown
--username- Command Option
- Tool-specific option used by this command invocation.
--user-pool-id- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to admin delete user using Aws Cognito Idp.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Aws Cognito Idp Command: List User Pools
aws cognito-idp list-user-pools --max-results <10> Aws Cognito Idp Command: Create User Pool aws cognito-idp create-user-pool --pool-name <name> Aws Cognito Idp Command: Admin Create User aws cognito-idp admin-create-user --username <username> --user-pool-id <user_pool_id> Aws Cognito Idp Command: Delete User Pool aws cognito-idp delete-user-pool --user-pool-id <user_pool_id> Aws Cognito Idp Command: List Users aws cognito-idp list-users --user-pool-id <user_pool_id>