How to edit user attributes in AWS Cognito User Pool for specific user?

前端 未结 2 448
庸人自扰
庸人自扰 2021-02-04 23:51

I\'m using AWS Cognito User Pool and have created some users. Now I would like to change some of the attributes for a specific user such as name, address, etc...

Is it p

2条回答
  •  时光说笑
    2021-02-05 00:15

    The OP asked how to change user attributes in Cognito. While the primary User Attributes and the custom attributes, can he viewed in the console, they cannot be changed there.
    Here is a link to the Python API to access User properties: link. The update_user_attributes() method may be what you are looking for.

    A broader set of APIs for cognito can be found here.

提交回复
热议问题