Skip to documentation
Workflow Developer API

Discard Developer Workflow Draft

Discard the current unpublished draft while preserving published versions.

DELETE/developer/v1/workflows/{definition_id}/draft

Authorizations

Authorization
stringheaderrequired

Send your GenHealth credential as Bearer <YOUR_API_KEY>. This endpoint requires workflow:write for the authenticated organization.

Headers

Accept
stringheader

Response media type. Use application/json for the current API.

Parameters

definition_idrequired
stringpath

Responses

204Successful Response
422Validation Error
HTTPValidationError
detailarray<ValidationError>