paws.security.identity (version 0.1.0)

cognitoidentityprovider_admin_delete_user_attributes: Deletes the user attributes in a user pool as an administrator

Description

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

Usage

cognitoidentityprovider_admin_delete_user_attributes(UserPoolId,
  Username, UserAttributeNames)

Arguments

UserPoolId

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

Username

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

UserAttributeNames

[required] An array of strings representing the user attribute names you wish to delete.

For custom attributes, you must prepend the custom: prefix to the attribute name.

Request syntax

svc$admin_delete_user_attributes(
  UserPoolId = "string",
  Username = "string",
  UserAttributeNames = list(
    "string"
  )
)

Details

Requires developer credentials.