Delete a workflow definition

Deletes a workflow definition within a specific project.

DELETE /api/management/projects/{projectId}/workflow/definitions/{workflowDefinitionId}

Parameters

Name Parameter type Type Format Description
projectId path string The project identifier, e.g. "movieDb". Found in the project overview screen of the management console.
workflowDefinitionId path string The workflow definition identifier.

Example request

DELETE: /api/management/projects/movieDb/workflow/definitions/approvalWorkflow

Response message

HTTP status code Reason Response model
204 Success
401 Unauthorized Error
404 NotFound Error
422 ValidationError Error
500 InternalServerError Error

Validations

Type Description
Project does not exist A project must exist to be able to delete a workflow definition.
Id missing The workflow definition id must be defined.
Workflow definition not found The workflow definition must exist in order to be deleted.
Workflow definition in use The workflow definition cannot be deleted while it is in use by one or more content types.

results matching ""

    No results matching ""