There is add-custom-attributes command in cognito-idp but no delete-custom-attributes?
How do I delete them?
There is add-custom-attributes command in cognito-idp but no delete-custom-attributes?
How do I delete them?
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.
I know this question is over 4 years old. But for me it appears at the top in a Google search. As far as I know there is currently no option in the Cognito UI to delete attributes. But you can use the AWS-CLI to delete the attributes. Here is the official description:
I know that this only works for specific users, but one could easy write a batch for this. Don't take me wrong ... it should be a feature of the CLI or the UI, but a batch is at least a workaround.