Archives the current draft of the specified document. Archived drafts will be placed in the in the Archived section of the Drafts drawer in the document’s workbook and retained for 30 days.
If a branch is specified, the current draft on the branch is archived.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The ID of the document to archive the draft from. To retrieve the ID, navigate to File > Document settings in the document and then click Settings. The Identifier field contains the document ID.
The UUID of the branch the draft is attached to.
Draft archived successfully
"Draft deleted successfully"