---
agentTools:
  projectIndex: https://dexi-app-developer.readme.io/llms.txt
---

# /proxygroups/{proxyGroupId}

Update proxy group.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "dexi.io API access for connecting your app to your scraped data.",
    "version": "1.0",
    "title": "@dexiio/public-api"
  },
  "paths": {
    "/proxygroups/{proxyGroupId}": {
      "put": {
        "description": "Update proxy group.",
        "parameters": [
          {
            "name": "proxyGroupId",
            "in": "path",
            "required": true,
            "description": "UUID of the Proxy Group",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProxyGroup"
              }
            }
          },
          "required": true
        },
        "x-operationId": "updateProxyGroup",
        "tags": [
          "proxygroups"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProxyGroup"
                }
              }
            }
          }
        },
        "security": [
          {
            "X-DexiIO-Access": [],
            "X-DexiIO-Account": []
          }
        ],
        "x-featureId": null
      }
    }
  },
  "servers": [
    {
      "url": "https://api.dexi.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "X-DexiIO-Access": {
        "type": "apiKey",
        "name": "X-DexiIO-Access",
        "in": "header"
      },
      "X-DexiIO-Account": {
        "type": "apiKey",
        "name": "X-DexiIO-Account",
        "in": "header"
      }
    },
    "schemas": {
      "ProxyGroup": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the proxy group."
          },
          "type": {
            "type": "string",
            "description": "The type of the proxies that belog to the proxy group.",
            "enum": [
              "OTHER",
              "DATACENTER",
              "RESIDENTIAL",
              "MOBILE"
            ]
          },
          "tagNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of strings (labels defined at the Proxy Group level)."
          },
          "provider": {
            "type": "string",
            "description": "The provider can be BrightData, OxyLabs or Custom (in this case the user should provide the username, password, host and port for each proxy).",
            "enum": [
              "CUSTOM",
              "OXYLABS",
              "BRIGHTDATA"
            ]
          },
          "options": {
            "type": "object",
            "properties": {
              "username": {
                "type": "string",
                "description": "The BrightData or OxyLabs username"
              },
              "password": {
                "type": "string",
                "description": "The BrightData or OxyLabs password"
              },
              "useSessions": {
                "type": "string",
                "description": "Session IP persistence. Only for BrightData "
              },
              "key": {
                "type": "string",
                "description": "OxyLabs Key"
              }
            },
            "description": "Required only if the provider is OxyLabs or BrightDta."
          },
          "_id": {
            "type": "string",
            "description": "The proxy group ID. Not required when you create a proxy group."
          }
        },
        "description": "A proxy group object definition.",
        "x-exampleOutput": {
          "json": {
            "name": "Test Proxy Group",
            "type": "DATACENTER",
            "tagNames": [
              "France",
              "Europe"
            ],
            "provider": "OXYLABS",
            "options": {
              "key": "452kn4643n6i",
              "username": "TestUsername",
              "password": "Password123"
            }
          }
        },
        "x-featureId": null
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 94,
      "1": 221,
      "2": 235,
      "3": 169,
      "4": 39,
      "5": 91,
      "6": 62,
      "7": 0,
      "8": 109,
      "9": 61,
      "10": 26,
      "11": 242
    }
  }
}
```