Skip to content

Delete User Pool Domain

cognitoidentityprovider_delete_user_pool_domain R Documentation

Given a user pool ID and domain identifier, deletes a user pool domain

Description

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.

Usage

cognitoidentityprovider_delete_user_pool_domain(Domain, UserPoolId)

Arguments

Domain

[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.

UserPoolId

[required] The ID of the user pool where you want to delete the domain.

Value

An empty list.

Request syntax

svc$delete_user_pool_domain(
  Domain = "string",
  UserPoolId = "string"
)