ARNPROXY

Change a Rotating package rotation interval

POST/account/api/v1/rotating/rotation
Confirm the operation deliberately

This operation may change a record, balance or service configuration. Read its scope and notes first. After an uncertain result, query the same operation rather than starting another.

Authorization

AuthorizationBearer YOUR_ARNPROXY_API_KEY
Required permissionproxy_management
Acceptapplication/json
Content-Typeapplication/json
Idempotency-Key16–100 letters, digits, _ or -. Persist and reuse the same value for the same operation.

Parameters

NameTypeDescription
Idempotency-Key
headerRequired
string16–100 letters/digits/_/-. Keep the same value for the operation/status; do not reuse with a different body.
proxy_id
bodyRequired
integerOwned active proxy record ID; 1–2147483647.
rotation_seconds
bodyRequired
integer0–86400 integer seconds; 0 means every request.
expected_revision
bodyRequired
stringrevision from this operation’s scope/settings read: 64 lowercase hex characters.
terms
bodyRequired
booleanMust be the JSON boolean true for explicit approval, not the string "true".
accept_package_scope
bodyRequired
booleanMust be true; accepts that other assignments in the package may be affected.

Request body

Replace YOUR_/FROM_ placeholders with values from the relevant catalog, quote or scope. Examples leave consent false; only approve a real operation intentionally.

request.json
{
    "proxy_id": "YOUR_ROTATING_PROXY_ID",
    "rotation_seconds": 120,
    "expected_revision": "FROM_SCOPE_REVISION",
    "terms": false,
    "accept_package_scope": false
}

Request example

cURL
printf 'Authorization: Bearer %s\n' "$ARNPROXY_API_KEY" |
  curl --silent --show-error --header @- \
    --header 'Accept: application/json' \
    --connect-timeout 10 --max-time 30 \
    --header 'Idempotency-Key: YOUR_SAVED_OPERATION_KEY' \
    --request POST --header 'Content-Type: application/json' \
    --data-binary @request.json \
    'https://www.arnproxy.com/account/api/v1/rotating/rotation'

Examples are not executed on this page. Keep the API key in a server-side environment variable; do not put real keys in URLs or browser code. Prepare request.json for POST examples.

Responses

200Success response
application/json
{
    "ok": true,
    "data": {
        "state": "completed",
        "proxy_id": 12345,
        "proxy_ids": [
            12345
        ],
        "rotation_seconds": 120,
        "authorization_scope": "package",
        "may_affect_other_proxies": false,
        "reason_code": null,
        "replayed": false,
        "provider_write_steps_sent": 1,
        "automatic_retry_started": false,
        "primary_credentials_changed": false,
        "authorized_ips_changed": false,
        "balance_changed": false,
        "proxy_expiry_changed": false
    },
    "meta": {
        "request_id": "000000000000000000000001",
        "phase": "public_v1",
        "source": "arnproxy_records"
    }
}
Response fields and types
NameTypeDescription
okbooleanSuccess envelope flag; on false inspect error.code.
dataobjectOperation-specific result; examples are illustrative and synthetic.
data.statestringRecord/operation state. accepted is not delivery; completed is not a connection test.
data.proxy_idintegerRelevant ARNPROXY record ID; use it instead of the upstream internal ID.
data.proxy_idsarrayProxy IDs in the scope visible to this account.
data.proxy_ids[]integerProxy IDs in the scope visible to this account.
data.rotation_secondsintegerRecorded/requested rotation in seconds; Rotating packages and Residential lists have different rules.
data.authorization_scopestringAuthorization scope. Order/package operations may affect other assignments.
data.may_affect_other_proxiesbooleanOther assignments may be affected by the package/order-wide scope.
data.reason_codestring|nullFixed reason code or null, never raw provider error text.
data.replayedbooleanSaved result for the same operation was returned, not proof of a new debit/action.
data.provider_write_steps_sentintegerOperation-specific provider write steps sent value; preserve its demonstrated type and consult the behavior notes.
data.automatic_retry_startedbooleanWhether this lookup started an automatic retry; false in these examples.
data.primary_credentials_changedbooleanOperation-specific primary credentials changed value; preserve its demonstrated type and consult the behavior notes.
data.authorized_ips_changedbooleanOperation-specific authorized ips changed value; preserve its demonstrated type and consult the behavior notes.
data.balance_changedbooleanReported effect of this operation; an automatic-renewal setting can cause future separate debits.
data.proxy_expiry_changedbooleanReported effect of this operation; an automatic-renewal setting can cause future separate debits.
metaobjectRequest correlation and data-source metadata.
meta.request_idstringThis HTTP request’s correlation ID, not an operation key or order ID.
meta.phasestringOperation-specific phase value; preserve its demonstrated type and consult the behavior notes.
meta.sourcestringData source; local records and a live provider lookup are different evidence.

Error response

HTTP 401 · INVALID_API_KEY
{
  "ok": false,
  "error": { "code": "INVALID_API_KEY" },
  "meta": { "request_id": "000000000000000000000001" }
}

Authentication and validation may reject a request before execution. Consult the error reference and retain request_id when contacting support. Never send keys or passwords. Errors & limits →

Behavior & important notes

  • First use rotating_options with an owned active proxy ID. Changes affect the whole package, potentially including other assignments. Both terms=true and accept_package_scope=true are required. 0 means every request; 0–86400 seconds is the ARNPROXY API limit. Credentials, authorized IPs, balance and service expiry are unchanged.
  • A timeout/5xx is not proof that a write failed. Use the original Idempotency-Key with its status resource. Do not retry under a new key; GET does not resend the change.
Follow the same operationVerify a Rotating operation using reads only; never resend →

Search the current language. Close with Esc