updateDraftIfNeeded
to true
and a draft workflow scheme is created or updated with the workflow-issue type mapping deleted. The draft workflow scheme can be published in Jira.curl --location --request DELETE '/rest/api/3/workflowscheme//workflow?workflowName'