# UpdateProfileProxy

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /profiles/{profileId}/proxy:
    put:
      summary: UpdateProfileProxy
      deprecated: false
      description: >-
        update profile proxy by profileId, url cannot be empty at the same time
        as protocol, host, and port
      tags:
        - API/Profiles/Proxy
        - v2/Profiles/Proxy
      parameters:
        - name: profileId
          in: path
          description: ''
          required: true
          example: 86b68026-0d68-4ce0-a30f-ccf58632446c
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  description: >-
                    proxy url, format:
                    {scheme}://{username}:{password}@{host}:{port}, cannot be
                    empty at the same time as protocol, host, and port
                  type: string
                protocol:
                  description: proxy scheme
                  type: string
                username:
                  description: proxy username
                  type: string
                password:
                  description: proxy password
                  type: string
                host:
                  description: proxy host
                  type: string
                port:
                  description: proxy port
                  type: string
              x-apifox-refs: {}
              x-apifox-orders:
                - url
                - protocol
                - username
                - password
                - host
                - port
              x-apifox-ignore-properties: []
              x-apidog-orders:
                - url
                - protocol
                - username
                - password
                - host
                - port
              x-apidog-ignore-properties: []
            example:
              url: http://admin:123456@127.0.0.1:8000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rest.R-any'
          headers: {}
          x-apidog-name: OK
      security:
        - apikey-header-x-api-key: []
      x-apidog-folder: API/Profiles/Proxy
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/438468/apis/api-15554907-run
components:
  schemas:
    rest.R-any:
      type: object
      properties:
        code:
          type: integer
        data:
          type: string
        err:
          type: boolean
        msg:
          type: string
      x-apidog-orders:
        - code
        - data
        - err
        - msg
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    apikey-header-x-api-key:
      type: apiKey
      in: header
      name: x-api-key
servers:
  - url: http://localhost:8848/api/v2
    description: Nstbrowser API v2
security:
  - apikey-header-x-api-key: []

```
