:doc:`CustomerProfiles <../../customer-profiles>` / Client / delete_profile_object

*********************
delete_profile_object
*********************



.. py:method:: CustomerProfiles.Client.delete_profile_object(**kwargs)

  

  Removes an object associated with a profile of a given ProfileObjectType.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfileObject>`_  


  **Request Syntax**
  ::

    response = client.delete_profile_object(
        ProfileId='string',
        ProfileObjectUniqueKey='string',
        ObjectTypeName='string',
        DomainName='string'
    )
    
  :type ProfileId: string
  :param ProfileId: **[REQUIRED]** 

    The unique identifier of a customer profile.

    

  
  :type ProfileObjectUniqueKey: string
  :param ProfileObjectUniqueKey: **[REQUIRED]** 

    The unique identifier of the profile object generated by the service.

    

  
  :type ObjectTypeName: string
  :param ObjectTypeName: **[REQUIRED]** 

    The name of the profile object type.

    

  
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Message': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Message** *(string) --* 

        A message that indicates the delete request is done.

        
  
  **Exceptions**
  
  *   :py:class:`CustomerProfiles.Client.exceptions.BadRequestException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.ThrottlingException`

  
  *   :py:class:`CustomerProfiles.Client.exceptions.InternalServerException`

  