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>

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

Back to Aws Cognito Idp directory