Given a user pool ID and domain identifier, deletes a user pool domain. After you delete a user pool domain, your managed login pages and authorization server are no longer available.
See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_delete_user_pool_domain/ for full documentation.
cognitoidentityprovider_delete_user_pool_domain(Domain, UserPoolId)
[required] The domain that you want to delete. For custom domains, this is the
fully-qualified domain name, such as auth.example.com
. For Amazon
Cognito prefix domains, this is the prefix alone, such as auth
.
[required] The ID of the user pool where you want to delete the domain.