v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14101465558.4 KB

Deletes the user attributes in a user pool as an administrator. Works on any user.

Calling this action requires developer credentials.

post/#X-Amz-Target=AWSCognitoIdentityProviderService.AdminDeleteUserAttributes

Headers

X-Amz-Target'AWSCognitoIdentityProviderService.AdminDeleteUserAttributes' required

Request body

UserPoolIdstring required

The user pool ID for the user pool where you want to delete user attributes.

Usernamestring password required

The user name of the user from which you would like to delete attributes.

UserAttributeNamesAttributeNameType[] required
<p>An array of strings representing the user attribute names you want to delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name.</p>

Response

Success

AdminDeleteUserAttributesResponse required

Represents the response received from the server for a request to delete user attributes.