Publish an organization workflow draft as the next live version. Earlier published versions of the same key are archived and their schedules removed; access grants and watchers carry over. Invalid graphs are rejected.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuiduuidapplication/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/organizations/123/workflows/definitions/123e4567-e89b-12d3-a456-426614174000/publish"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "ownerScope": "system", "key": "string", "name": "string", "description": "string", "status": "draft", "version": 1, "visibility": "automatic", "purpose": "automation", "subjectType": null, "forkedFromDefinitionId": null, "forkedFromVersion": null, "isDefault": false, "updatedAt": "string"}