{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/user-pools-admin-delete-user-attributes-request-schema.json", "title": "AdminDeleteUserAttributesRequest", "description": "Represents the request to delete user attributes as an administrator.", "type": "object", "properties": { "UserPoolId": { "allOf": [ { "$ref": "#/components/schemas/UserPoolIdType" }, { "description": "The user pool ID for the user pool where you want to delete user attributes." } ] }, "Username": { "allOf": [ { "$ref": "#/components/schemas/UsernameType" }, { "description": "The user name of the user from which you would like to delete attributes." } ] }, "UserAttributeNames": { "allOf": [ { "$ref": "#/components/schemas/AttributeNameListType" }, { "description": "
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.