:doc:`DeadlineCloud <../../deadline>` / Client / delete_queue

************
delete_queue
************



.. py:method:: DeadlineCloud.Client.delete_queue(**kwargs)

  

  Deletes a queue.

   

  .. warning::

     

    You can't recover the jobs in a queue if you delete the queue. Deleting the queue also deletes the jobs in that queue.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteQueue>`_  


  **Request Syntax**
  ::

    response = client.delete_queue(
        farmId='string',
        queueId='string'
    )
    
  :type farmId: string
  :param farmId: **[REQUIRED]** 

    The ID of the farm from which to remove the queue.

    

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

    The queue ID of the queue to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DeadlineCloud.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DeadlineCloud.Client.exceptions.InternalServerErrorException`

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

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

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

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

  