:doc:`WickrAdminAPI <../../wickr>` / Client / delete_security_group

*********************
delete_security_group
*********************



.. py:method:: WickrAdminAPI.Client.delete_security_group(**kwargs)

  

  Deletes a security group from a Wickr network. This operation cannot be performed on the default security group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wickr-2024-02-01/DeleteSecurityGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_security_group(
        networkId='string',
        groupId='string'
    )
    
  :type networkId: string
  :param networkId: **[REQUIRED]** 

    The ID of the Wickr network from which the security group will be deleted.

    

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

    The unique identifier of the security group to delete.

    

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

    
    ::

      {
          'message': 'string',
          'networkId': 'string',
          'groupId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **message** *(string) --* 

        A message indicating the result of the security group deletion operation.

        
      

      - **networkId** *(string) --* 

        The ID of the network from which the security group was deleted.

        
      

      - **groupId** *(string) --* 

        The ID of the security group that was deleted.

        
  
  **Exceptions**
  
  *   :py:class:`WickrAdminAPI.Client.exceptions.ValidationError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.BadRequestError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.ResourceNotFoundError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.ForbiddenError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.UnauthorizedError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.InternalServerError`

  
  *   :py:class:`WickrAdminAPI.Client.exceptions.RateLimitError`

  