> ## Documentation Index
> Fetch the complete documentation index at: https://docsapi.wiseapp360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set the regional proxy of a UAZAPI inbox

> Places the instance behind a managed proxy in the given city, which must be one of the managed proxy cities. Sending `enabled: false` removes it.



## OpenAPI

````yaml /openapi/application.json patch /api/v1/accounts/{account_id}/inboxes/{inbox_id}/whatsapp_uazapi/regional_proxy_settings
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/inboxes/{inbox_id}/whatsapp_uazapi/regional_proxy_settings:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - $ref: '#/components/parameters/inbox_id'
        schema:
          type: string
        example: sample
    patch:
      tags:
        - Inboxes
      summary: Set the regional proxy of a UAZAPI inbox
      description: >-
        Places the instance behind a managed proxy in the given city, which must
        be one of the managed proxy cities. Sending `enabled: false` removes it.
      operationId: update-uazapi-regional-proxy-settings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - regional_proxy
              properties:
                regional_proxy:
                  type: object
                  required:
                    - enabled
                  properties:
                    enabled:
                      type: boolean
                      example: true
                    city:
                      type: string
                      description: >-
                        Required when enabled. One of the values returned by
                        managed_proxy_cities.
                      example: sao_paulo
                    state:
                      type: string
                      example: SP
            example:
              regional_proxy:
                enabled: true
                city: sao_paulo
                state: SP
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                id: 1
                message: Resource saved successfully
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Unauthorized
        '404':
          description: Inbox not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Resource not found
        '422':
          description: >-
            The `enabled` flag is missing, the city is missing or invalid, or
            the provider refused the request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  attributes:
                    type: array
                    items:
                      type: string
              example:
                message: Validation failed
                attributes:
                  - name cannot be blank
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
    inbox_id:
      in: path
      name: inbox_id
      schema:
        type: integer
      required: true
      description: The ID of the Inbox
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.