Docs
Live demo
POST/api/v2/connectors/{id}/sync-runs/{sync_run_id}/approve

Approve a sync run that requires manual approval after destructive guardrails trigger. The caller must hold identities:manage now. Approval reserves one immutable, single-use rerun bound to the reviewed run's connector revision, normalized spec hash, and complete diff fingerprint. The rerun rediscovers and recomputes the diff. It applies changes only when all three values still match. Otherwise the approval is consumed without applying changes and the new run requires a fresh approval. This endpoint has no request body.

Needed above 10% identity or membership removals. Console admins only (403 authorization.denied for tokens).

Parameters

Path2 required of 2
idstringpathrequired

Connector ID (UUID)

sync_run_idstringpathrequired

Sync run ID (UUID)

Responses

202

Accepted

TriggerSyncResponse · 1 field
403

Forbidden - the caller must hold identities:manage now

409

Conflict - approval is stale, missing integrity metadata, ineligible, or already reserved. Or the connector is paused (connector.paused)

Common errors: 400 401 404 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close