Passer au contenu principal
PATCH
Sélectionnez 1 à 500 proxys actifs avec proxyIds. note: "" efface la note et replaceTags: [] efface tous les tags. Combinez addTags et removeTags pour des tags différents. replaceTags exclut ces deux champs. Pour tout le produit, seuls product, scope: "product" et un removeTags non vide sont acceptés. Une requête sans modification ou avec une liste d’identifiants vide renvoie 400.

Autorisations

Authorization
string
header
requis

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

Scopes

rest:proxy:write

Access to proxy:write REST operations

Corps

application/json

Product, target, and at least one change.

product
enum<string>
requis
Options disponibles:
isp,
datacenter,
mobile
proxyIds
string[]
requis

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

Réponse

Count of matched proxies updated.

updated
integer
requis
Plage requise: x >= 0