Skip to content

DeleteUserAttributesRequest

Source code in docs_src/capo_cognito_identity_provider/types/delete_user_attributes_request.py
class DeleteUserAttributesRequest(TypedDict, closed=True):
    user_attribute_names: "capo_cognito_identity_provider.types.attribute_name_list_type.AttributeNameListType"
    """<p>An array of strings representing the user attribute names you want to delete.</p> <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the attribute name, for example <code>custom:department</code>.</p>"""
    access_token: "capo_cognito_identity_provider.types.token_model_type.TokenModelType"
    """<p>A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for <code>aws.cognito.signin.user.admin</code>.</p>"""

access_token instance-attribute

access_token: TokenModelType

A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.

user_attribute_names instance-attribute

user_attribute_names: AttributeNameListType

An array of strings representing the user attribute names you want to delete.

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