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

**************************
delete_profile_object_type
**************************



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

  

  Removes a ProfileObjectType from a specific domain as well as removes all the ProfileObjects of that type. It also disables integrations from this specific ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that were populated from this ProfileObjectType.

  

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


  **Request Syntax**
  ::

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

    The unique name of the domain.

    

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

    The name of the profile object type.

    

  
  
  :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.ResourceNotFoundException`

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

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

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

  