Mutation

create_folder_proxy

Add a new proxy configuration for a Folder

Arguments

input: CreateFolderProxyInput!


Input Fields

folder_id(): ID!
proxy(): ProxyInput!

Return Fields

proxy(): Proxy!

Example

Query
mutation CreateFolderProxy($input: CreateFolderProxyInput!) {
  create_folder_proxy(input: $input) {
    proxy {
      id
      destination_host
      proxy_host
      proxy_port
      authentication_type
    }
  }
}
Variables
{
  "input": {
    "folder_id": "1",
    "proxy": {
      "authentication_type": "none",
      "destination_host": "example.com",
      "proxy_host": "proxy.example.com",
      "proxy_port": 8080
    }
  }
}
Result
{
  "data": {
    "create_folder_proxy": {
      "proxy": {
        "id": "1",
        "destination_host": "example.com",
        "proxy_host": "proxy.example.com",
        "proxy_port": 8080,
        "authentication_type": "none"
      }
    }
  }
}