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

# Update LinkedIn account proxy

> Sets or replaces the proxy on an existing LinkedIn account. The same fields and rules as connect apply: send a custom proxy or a country, not both. Unipile updates the existing session, so this does not require LinkedIn credentials or a reconnect. A disconnected account must be reconnected instead. The proxy password is write-only and is not returned.



## OpenAPI

````yaml https://multichannel-api.salesforge.ai/public/multichannel/swagger/doc.json put /multichannel/workspaces/{workspaceID}/linkedin/accounts/{linkedinAccountID}/proxy
openapi: 3.1.0
info:
  description: Multichannel public endpoints consumed through salesforge-api public docs.
  title: Multichannel Public API
  version: '1.0'
servers:
  - url: https://multichannel-api.salesforge.ai/public
security:
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
externalDocs:
  description: ''
  url: ''
paths:
  /multichannel/workspaces/{workspaceID}/linkedin/accounts/{linkedinAccountID}/proxy:
    put:
      tags:
        - multichannel
      summary: Update LinkedIn account proxy
      description: >-
        Sets or replaces the proxy on an existing LinkedIn account. The same
        fields and rules as connect apply: send a custom proxy or a country, not
        both. Unipile updates the existing session, so this does not require
        LinkedIn credentials or a reconnect. A disconnected account must be
        reconnected instead. The proxy password is write-only and is not
        returned.
      parameters:
        - description: Workspace ID
          in: path
          name: workspaceID
          required: true
          schema:
            type: string
        - description: LinkedIn account ID
          in: path
          name: linkedinAccountID
          required: true
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                - $ref: >-
                    #/components/schemas/requests.UpdateLinkedinAccountProxyRequest
                  description: LinkedIn proxy
                  summary: request
        description: LinkedIn proxy
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.LinkedinProxyResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Internal Server Error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    requests.UpdateLinkedinAccountProxyRequest:
      properties:
        proxy:
          $ref: '#/components/schemas/requests.ConnectLinkedinAccountProxyRequest'
        proxyCountry:
          description: ISO country for a managed proxy. Mutually exclusive with proxy.
          enum:
            - AR
            - AU
            - AT
            - BD
            - BE
            - BR
            - BG
            - CA
            - HR
            - CY
            - CZ
            - DK
            - FR
            - DE
            - HK
            - IN
            - IT
            - JP
            - MX
            - NL
            - 'NO'
            - PK
            - PL
            - PT
            - RO
            - SG
            - ZA
            - ES
            - SE
            - CH
            - TR
            - UA
            - AE
            - GB
            - US
          example: US
          type: string
      type: object
    dto.LinkedinProxyResponse:
      properties:
        proxy:
          $ref: '#/components/schemas/dto.LinkedinProxyDTO'
      type: object
    responses.ErrorResponse:
      properties:
        data:
          description: >-
            Optional error context. Its shape depends on the message and
            endpoint.
        message:
          description: >-
            Human-readable error text or, for documented cases, a stable
            machine-readable code that clients can branch on.
          example: Invalid request body
          type: string
      type: object
    requests.ConnectLinkedinAccountProxyRequest:
      description: Custom proxy. Mutually exclusive with country.
      properties:
        host:
          description: >-
            Proxy hostname. An explicit scheme (e.g. socks5://) selects the
            protocol; otherwise protocol is used, and a bare host means http.
          example: proxy.example.com
          minLength: 1
          type: string
        password:
          description: Proxy password, when the proxy requires authentication.
          type: string
        port:
          description: Proxy port.
          example: 8080
          type: integer
        protocol:
          description: >-
            Scheme used when host has none. A host that already includes a
            scheme wins.
          enum:
            - http
            - https
            - socks5
          example: socks5
          type: string
        username:
          description: Proxy username, when the proxy requires authentication.
          type: string
      required:
        - host
        - port
      type: object
    dto.LinkedinProxyDTO:
      description: >-
        Proxy is omitted when the account uses the default managed proxy. The
        password is never returned.
      properties:
        country:
          type: string
        hasPassword:
          type: boolean
        host:
          type: string
        port:
          type: integer
        protocol:
          type: string
        username:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: Authorization
      type: apiKey

````

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