I am trying to signup an user. I am using AWS cognito for user authentication and authorization. I have added new custom attribute "abc" in under attribute section in General Settings. I have enabled read & write for abc attribute in AppClients.
Now I am trying to hit the API to create user using Postman. I am able to create new user but problem I am facing is, I am unable to add custom attribute while creating user. To add custom attributes, everytime I have to run below cli command. How do I add custom attributes while creating user itself.
aws cognito-idp admin-update-user-attributes --user-pool-id us-west-2_aaaaaaaaa --username diego@example.com --user-attributes Name="custom:CustomAttr1",Value="Purple"