:doc:`DataZone <../../datazone>` / Client / delete_account_pool

*******************
delete_account_pool
*******************



.. py:method:: DataZone.Client.delete_account_pool(**kwargs)

  

  Deletes an account pool.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteAccountPool>`_  


  **Request Syntax**
  ::

    response = client.delete_account_pool(
        domainIdentifier='string',
        identifier='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the domain where the account pool is deleted.

    

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

    The ID of the account pool to be deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

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

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

  
  *   :py:class:`DataZone.Client.exceptions.ValidationException`

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  