CognitoIdentityProvider / Client / delete_managed_login_branding
delete_managed_login_branding#
- CognitoIdentityProvider.Client.delete_managed_login_branding(**kwargs)#
Deletes a managed login branding style. When you delete a style, you delete the branding association for an app client and restore it to default settings.
Note
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
See also: AWS API Documentation
Request Syntax
response = client.delete_managed_login_branding( ManagedLoginBrandingId='string', UserPoolId='string' )
- Parameters:
ManagedLoginBrandingId (string) –
[REQUIRED]
The ID of the managed login branding style that you want to delete.
UserPoolId (string) –
[REQUIRED]
The ID of the user pool that contains the managed login branding style that you want to delete.
- Returns:
None
Exceptions
CognitoIdentityProvider.Client.exceptions.ResourceNotFoundException
CognitoIdentityProvider.Client.exceptions.ConcurrentModificationException
CognitoIdentityProvider.Client.exceptions.InvalidParameterException
CognitoIdentityProvider.Client.exceptions.TooManyRequestsException
CognitoIdentityProvider.Client.exceptions.NotAuthorizedException
CognitoIdentityProvider.Client.exceptions.InternalErrorException