:doc:`finspace <../../finspace>` / Client / delete_kx_database

******************
delete_kx_database
******************



.. py:method:: finspace.Client.delete_kx_database(**kwargs)

  

  Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteKxDatabase>`_  


  **Request Syntax**
  ::

    response = client.delete_kx_database(
        environmentId='string',
        databaseName='string',
        clientToken='string'
    )
    
  :type environmentId: string
  :param environmentId: **[REQUIRED]** 

    A unique identifier for the kdb environment.

    

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

    The name of the kdb database that you want to delete.

    

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

    A token that ensures idempotency. This token expires in 10 minutes.

    This field is autopopulated if not provided.

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

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

  
  *   :py:class:`finspace.Client.exceptions.ConflictException`

  