Send publish request for a certain draft id
Send publish request of certain draft id and returns the response.
⚠️ IMPORTANT SECURITY NOTICE:
The Fireblocks Policy is a critical security guardrail. Programmatically modifying your policy via the API introduces significant security risks. As an industry best practice, Fireblocks strongly recommends manual editing accompanied by strict human oversight and approval workflows for all policy changes. Programmatic updates should only be implemented by advanced users with comprehensive, multi-layer security controls in place.
If you want to learn more about the Fireblocks Policy Editor, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.
Headers
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Body
Request schema for publishing draft with policy types and draft ID
Policy type enumeration
TRANSFER, STAKE, CONTRACT_CALL, TYPED_MESSAGE, APPROVE, MINT, BURN, RAW, COMPLIANCE, DEPLOYMENT, PROGRAM_CALL, DAPP_CONNECTION, UPGRADE, ORDER, AML_CHAINALYSIS_V2_SCREENING, AML_CHAINALYSIS_V2_POST_SCREENING, AML_ELLIPTIC_HOLISTIC_SCREENING, AML_ELLIPTIC_HOLISTIC_POST_SCREENING, TR_NOTABENE_SCREENING, TR_NOTABENE_POST_SCREENING The ID of the draft to publish
"draft-123"
Response
A policy publish result object
Response object of the publish policy operation
- SUCCESS - success
- UNVALIDATED - not validated yet
- INVALID_CONFIGURATION - at least one rule is invalid
- PENDING - pending approval
- PENDING_CONSOLE_APPROVAL - pending approval from the console app
- AWAITING_QUORUM - pending quorum approval
- UNHANDLED_ERROR - unhandled error
SUCCESS, UNVALIDATED, INVALID_CONFIGURATION, PENDING, PENDING_CONSOLE_APPROVAL, AWAITING_QUORUM, UNHANDLED_ERROR Policy rules validation result
Policy metadata keyed by policy type
{
"TRANSFER": {
"editedBy": "user123",
"editedAt": "2024-01-15T10:30:00Z",
"publishedBy": "user456",
"publishedAt": "2024-01-15T11:00:00Z"
}
}