:doc:`Keyspaces <../../keyspaces>` / Client / delete_keyspace

***************
delete_keyspace
***************



.. py:method:: Keyspaces.Client.delete_keyspace(**kwargs)

  

  The ``DeleteKeyspace`` operation deletes a keyspace and all of its tables.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/DeleteKeyspace>`_  


  **Request Syntax**
  ::

    response = client.delete_keyspace(
        keyspaceName='string'
    )
    
  :type keyspaceName: string
  :param keyspaceName: **[REQUIRED]** 

    The name of the keyspace to be deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Keyspaces.Client.exceptions.ValidationException`

  
  *   :py:class:`Keyspaces.Client.exceptions.ServiceQuotaExceededException`

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

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

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

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

  