Activate or roll back to a published version with optimistic concurrency

POST
/api/v1/client/browser/workflows/{workflowId}/versions/{versionId}/activate
AuthorizationBearer <token>

In: header

Path Parameters

workflowId*string
Formatuuid
versionId*string
Formatuuid

Header Parameters

Idempotency-Key?string

Optional. When omitted, the server generates a unique internal key for this submission.

Length8 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/v1/client/browser/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/497f6eca-6276-4993-bfeb-53cbbbba6f08/activate" \  -H "Content-Type: application/json" \  -d '{    "workflow_version": 1  }'
Empty