CustomerProfiles / Client / delete_profile

delete_profile#

CustomerProfiles.Client.delete_profile(**kwargs)#

Deletes the standard customer profile and all data pertaining to the profile.

See also: AWS API Documentation

Request Syntax

response = client.delete_profile(
    ProfileId='string',
    DomainName='string'
)
Parameters:
  • ProfileId (string) –

    [REQUIRED]

    The unique identifier of a customer profile.

  • DomainName (string) –

    [REQUIRED]

    The unique name of the domain.

Return type:

dict

Returns:

Response Syntax

{
    'Message': 'string'
}

Response Structure

  • (dict) –

    • Message (string) –

      A message that indicates the delete request is done.

Exceptions

  • CustomerProfiles.Client.exceptions.BadRequestException

  • CustomerProfiles.Client.exceptions.AccessDeniedException

  • CustomerProfiles.Client.exceptions.ResourceNotFoundException

  • CustomerProfiles.Client.exceptions.ThrottlingException

  • CustomerProfiles.Client.exceptions.InternalServerException