Saltar al contenido principal
PATCH
Selecciona 1–500 proxies activos con proxyIds. note: "" borra la nota y replaceTags: [] borra todas las etiquetas. Puedes combinar addTags y removeTags para etiquetas distintas. replaceTags es incompatible con ambos campos. Para todo el producto, envía solo product, scope: "product" y un removeTags no vacío. Un parche sin cambios o una lista vacía de IDs devuelve 400.

Autorizaciones

Authorization
string
header
requerido

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

Scopes

rest:proxy:write

Access to proxy:write REST operations

Cuerpo

application/json

Product, target, and at least one change.

product
enum<string>
requerido
Opciones disponibles:
isp,
datacenter,
mobile
proxyIds
string[]
requerido

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

Respuesta

Count of matched proxies updated.

updated
integer
requerido
Rango requerido: x >= 0