curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/boards/{boardId}/unpublish \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"taskId": "<string>"
}
'{
"ok": true
}UnpublishBoard stops the board execution. This is an asynchronous request and will respond with a “202 Accepted”
to acknowledge that the board has been scheduled for termination. A BoardUnpublishedEvent will be emitted once
the board has actually been terminated which can be listened for over the websocket API.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/boards/{boardId}/unpublish \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"taskId": "<string>"
}
'{
"ok": true
}UnpublishBoardRequest is the payload to schedule an executing Board to be terminated
The response after a board has been scheduled to be terminated.
BoardUnpublishResult is used to indicate if the unpublish request has been accepted. The actual scheduling is done in the background and does not indicate the board has terminated.