Revoke an invoice approval step
Undoes a specific user's approval step on an invoice and recalculates dependent policy tiers. Requires the can_undo_invoice_approvals permission.
approval_id is carried in the request body rather than the URL path (unlike the path shown in the original spec) — the 4-segment path documented there exceeds the max depth this API Gateway resource tree supports (3 segments; see ottiapi/modules/api_endpoint_tree/main.tf's depth_1/2/3_paths locals).
Path parameters
Invoice ID
Headers
OAuth2 authentication flows. Auth server URLs will vary by environment
API key for authentication
API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.
Client-generated unique key (UUID/ULID recommended). JSON requests: the first 2xx response is cached for 24h and replayed on a same-key retry with a matching body; a different body returns 422. Non-JSON requests (e.g. file uploads): the key is single-use — any same-key retry returns 422 regardless of body. See Idempotency for full details.
Request body
Response
Successful response with updated invoice approval state
Empty response body