Zum Hauptinhalt springen
PATCH
Wähle 1–500 aktive Proxys mit proxyIds. note: "" leert die Notiz, replaceTags: [] entfernt alle Tags. addTags und removeTags lassen sich für unterschiedliche Tags kombinieren. replaceTags schließt beide Felder aus. Produktweit sind nur product, scope: "product" und ein nicht leeres removeTags erlaubt. Ohne Änderung oder mit einer leeren ID-Liste gibt die API 400 zurück.

Autorisierungen

Authorization
string
header
erforderlich

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

Scopes

rest:proxy:write

Access to proxy:write REST operations

Body

application/json

Product, target, and at least one change.

product
enum<string>
erforderlich
Verfügbare Optionen:
isp,
datacenter,
mobile
proxyIds
string[]
erforderlich

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

Antwort

Count of matched proxies updated.

updated
integer
erforderlich
Erforderlicher Bereich: x >= 0