:doc:`WorkSpaces <../../workspaces>` / Client / revoke_ip_rules

***************
revoke_ip_rules
***************



.. py:method:: WorkSpaces.Client.revoke_ip_rules(**kwargs)

  

  Removes one or more rules from the specified IP access control group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RevokeIpRules>`_  


  **Request Syntax**
  ::

    response = client.revoke_ip_rules(
        GroupId='string',
        UserRules=[
            'string',
        ]
    )
    
  :type GroupId: string
  :param GroupId: **[REQUIRED]** 

    The identifier of the group.

    

  
  :type UserRules: list
  :param UserRules: **[REQUIRED]** 

    The rules to remove from the group.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WorkSpaces.Client.exceptions.InvalidParameterValuesException`

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

  
  *   :py:class:`WorkSpaces.Client.exceptions.InvalidResourceStateException`

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

  