Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_profile

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