:doc:`WorkspacesInstances <../../workspaces-instances>` / Client / delete_workspace_instance

*************************
delete_workspace_instance
*************************



.. py:method:: WorkspacesInstances.Client.delete_workspace_instance(**kwargs)

  

  Deletes the specified WorkSpace

   

  .. warning::

     

    Usage of this API will result in deletion of the resource in question.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-instances-2022-07-26/DeleteWorkspaceInstance>`_  


  **Request Syntax**
  ::

    response = client.delete_workspace_instance(
        WorkspaceInstanceId='string'
    )
    
  :type WorkspaceInstanceId: string
  :param WorkspaceInstanceId: **[REQUIRED]** 

    Unique identifier of the WorkSpaces Instance targeted for deletion.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      Confirms the successful deletion of the specified WorkSpace Instance.

      
  
  **Exceptions**
  
  *   :py:class:`WorkspacesInstances.Client.exceptions.ValidationException`

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

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

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

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

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

  