cURL
curl --request POST \ --url https://api.quiva.ai/hub/workflows/publish \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "subject": "ms.hub.config.workflow.draft.1234567890.98765432" } '
{ "message": "success" }
Publishes a draft workflow to make it available for execution
JWT Authorization header using the Bearer scheme
Subject of the draft workflow to publish
Workflow published successfully
Success message