Vai al contenuto principale
PATCH
Seleziona da 1 a 500 proxy attivi con proxyIds. note: "" cancella la nota e replaceTags: [] cancella tutti i tag. Puoi combinare addTags e removeTags per tag diversi. replaceTags esclude entrambi i campi. Per tutto il prodotto sono ammessi solo product, scope: "product" e un removeTags non vuoto. Una richiesta senza modifiche o con una lista di ID vuota restituisce 400.

Autorizzazioni

Authorization
string
header
obbligatorio

ProxyLayer API key. See the API Overview for key modes and scopes.

Scopes

rest:proxy:write

Access to proxy:write REST operations

Corpo

application/json

Product, target, and at least one change.

product
enum<string>
obbligatorio
Opzioni disponibili:
isp,
datacenter,
mobile
proxyIds
string[]
obbligatorio

Active proxy IDs from GET /api/v1/proxies.

Required array length: 1 - 500 elements
Minimum string length: 1
note
string

Replaces the note. Send an empty string to clear it.

Maximum string length: 20000
replaceTags
string[]

Replaces all tags. Send an empty array to clear them.

Maximum array length: 10
Required string length: 1 - 64
addTags
string[]

Appends tags up to the limit of 10 per proxy.

Required array length: 1 - 10 elements
Required string length: 1 - 64
removeTags
string[]

Removes tags by exact, case-sensitive match.

Required array length: 1 - 10 elements
Required string length: 1 - 64

Risposta

Count of matched proxies updated.

updated
integer
obbligatorio
Intervallo richiesto: x >= 0