We have extended the Document Command API with new publish control commands.

setEmbargo

{
  operation: 'setEmbargo',
  reason: 'Some reason',
  until:  '2021-11-04T00:00:00Z'
}

removeEmbargo

{
  operation: 'removeEmbargo'
}

addPublishSchedule

{
  operation: 'addPublishSchedule',
  date: '2021-11-04T00:00:00Z'
}

cancelPublishSchedule

{
  operation: 'cancelPublishSchedule'
}

addUnpublishSchedule

{
  operation: 'addUnpublishSchedule',
  date: '2021-11-04T00:00:00Z'
}

cancelUnpublishSchedule

{
  operation: 'cancelUnpublishSchedule'
}
⌘ K to search