Change the workflow of a language variant

PUT https://manage.kontent.ai/v2/projects/:environment_id/items/:item_identifier/variants/:language_identifier/change-workflow

Move the specified variant to the specified workflow and workflow step. This is the same as updating the workflow in the UI.

The API follows the workflow transition limitations present in the UI. This means you can change the workflow step of the language variant only to the workflow steps you have permissions to.

Request Body

{"workflow_identifier"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "step_identifier"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring