Account

Update hosted Code Audit provider retention

Changed on

Requires organization-retention.write and owner. expectedVersion prevents stale changes; mutationId supports retries. Retains enterprise, configuration, strict-ZDR rollout and active-run checks. Requires a user-delegated OAuth token. Organization API keys are refused. Enforced after scope and role authorization: rollout-agent-access-writes (default off) and allow-public-agent-writes (default on). Reads remain available when writes are paused.

patch/v1/organizations/{organizationId}/data-controls

Request

  • Base URL
    https://api.inth.com
  • URL
    https://api.inth.com/v1/organizations/{organizationId}/data-controls
  • Auth
    HTTP bearer

Path parameters

organizationIdstring required

An accessible organization context. Defaults to the active organization; use an explicit ID for stable automation.

Request body

mutationIdstring required
expectedVersioninteger required
providerRetention'standard' | 'strict-zdr' required

Response

Update hosted Code Audit provider retention

successtrue required

Changes