Pular para o conteúdo principal
PATCH
Selecione de 1 a 500 proxies ativos com proxyIds. note: "" limpa a nota e replaceTags: [] limpa todas as tags. Combine addTags e removeTags para tags diferentes. replaceTags exclui os dois campos. Para todo o produto, envie apenas product, scope: "product" e um removeTags não vazio. Uma solicitação sem alterações ou com lista de IDs vazia retorna 400.

Autorizações

Authorization
string
header
obrigatório

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>
obrigatório
Opções disponíveis:
isp,
datacenter,
mobile
proxyIds
string[]
obrigatório

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

Resposta

Count of matched proxies updated.

updated
integer
obrigatório
Intervalo obrigatório: x >= 0