Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Cognito delete-custom-attributes?

There is add-custom-attributes command in cognito-idp but no delete-custom-attributes?

How do I delete them?

like image 715
Li Li Avatar asked Jun 16 '17 13:06

Li Li


People also ask

How do I edit a custom attribute in Cognito?

Short description. You can't change standard user pool attributes after a user pool is created. Instead, create a new user pool with the attributes that you want to require for user registration. Then, migrate existing users to the new user pool by using an AWS Lambda function as a user migration trigger.

What is sub attribute Cognito?

Cognito sub attributeWhen creating a user Cognito will assign a generated unique IDs (the sub attribute). This attribute cannot be changed and in case you import users from another pool/backup it will change.

How do I change my status in Cognito?

In order to change a Cognito user's status from FORCE_CHANGE_PASSWORD to CONFIRMED , we have to change their password. To change a Cognito user's password, use the admin-set-password command, setting the --permanent parameter. Copied!


1 Answers

Never mind.

This is not doable at the moment. Under the Custom Attributes it has mentioned that:

Cannot be removed or changed once added to the user pool.

like image 59
Li Li Avatar answered Sep 20 '22 09:09

Li Li