Agent Versioning - Branches
Discard open draft
Discard the open draft on this branch. Any unpublished edits are lost. The last committed revision remains the branch head.
delete/agent/{id}/branches/{branchId}/draft
Path parameters
idstring required
The agent ID.
branchIdstring required
The branch ID.
Response
Discarded.
Example response
{
"status": true,
"data": {
"discarded": true
}
}