Skip to main content
POST
Publish a workflow

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
subject
string
required

Draft subject: ms.hub.config.workflow.draft.{collection}.{flow}

Pattern: ^ms\.hub\.config\.workflow\.draft\.
commit
string

Commit message

Response

Workflow published successfully

message
string

Success message