Publish a specific flow version

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

flowIdstringRequired

Request

This endpoint expects an object.
versionIdstringRequired>=1 character
onConflictenumOptionalDefaults to error

Use overwrite only after confirming replacement of a code-managed flow.

Allowed values:

Response

Version published
appliedmap from strings to booleans
flowIdstring
lastModifiedSourceenum
messagestring
successboolean
versionIdstring
warningslist of strings

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error