:doc:`Synthetics <../../synthetics>` / Client / delete_group

************
delete_group
************



.. py:method:: Synthetics.Client.delete_group(**kwargs)

  

  Deletes a group. The group doesn't need to be empty to be deleted. If there are canaries in the group, they are not deleted when you delete the group.

   

  Groups are a global resource that appear in all Regions, but the request to delete a group must be made from its home Region. You can find the home Region of a group within its ARN.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_group(
        GroupIdentifier='string'
    )
    
  :type GroupIdentifier: string
  :param GroupIdentifier: **[REQUIRED]** 

    Specifies which group to delete. You can specify the group name, the ARN, or the group ID as the ``GroupIdentifier``.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

  