code: def update_command(permissions, rule_id, endpoint_id):
      
      client = get_client()
  
      rule_data = assemble_generic_doc("access", permissions=permissions)
      res = client.update_endpoint_acl_rule(endpoint_id, rule_id, rule_data)
      formatted_print(res, text_format=FORMAT_TEXT_RAW, response_key="message")
docs: Executor for `globus endpoint permission update`