Documents
Withdraw the in-flight approval round
Tier-gated by advancedPolicies. Only the requester may cancel; the round flips to cancelled and the document is untouched.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuiddocumentId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/approval/cancel"{ "id": "string", "organizationId": "string", "documentId": "string", "status": "pending", "requestedByUserId": "string", "note": "string", "tiers": [ { "name": "string", "approverUserIds": [ "string" ], "minApprovals": 1, "decisions": [ { "decidedByUserId": "string", "verdict": "approve", "comment": "string", "decidedAt": null, "property1": null, "property2": null } ], "property1": null, "property2": null } ], "dateCreated": null, "dateUpdated": null, "property1": null, "property2": null}