WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Update account proxy

PATCH/api/linkedin/gateway/accounts/{account_id}

Changes the outbound proxy an already-connected account routes its traffic through, without touching its session or credentials.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.

Path parameters

FieldTypeDescription
account_id *stringThe account to update. Must belong to this key.

Body parameters

FieldTypeDescription
proxyobjectAn explicit proxy to use going forward. Requires host and port; protocol (https, http or socks5) and username/password are optional.
countrystringA 2-letter country code — lets Warmably pick a proxy location for you instead of supplying one.
ipstringAn IPv4 address used the same way as country, to infer a proxy location.

Response fields

FieldTypeDescription
account_idstringEchoes the path parameter once the proxy change is applied.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated, or the proxy credentials were rejected.·403 Forbidden. account_id doesn't belong to this key.·404 Not Found. No account with that id exists upstream.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl -X PATCH https://api.warmably.com/api/linkedin/gateway/accounts/459993d2-b0e7-4b19-baf9-45252ca324cf \
  -H "Authorization: Bearer wm_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "proxy": {
      "protocol": "https",
      "host": "proxy.example.com",
      "port": 8080,
      "username": "user",
      "password": "..."
    }
  }'
Response
200 OK
{
  "object": "AccountPatched",
  "account_id": "459993d2-b0e7-4b19-baf9-45252ca324cf"
}
No key yet? Create one from Dashboard → API Keys.