Delete a workflow
Required Scopes
- workflows.read-write
Request
Path Parameters
Responses
- 204
- 400
- 401
- 403
- 404
- 409
Workflow deleted
The workflow request failed.
- application/json
- Schema
- Example (from schema)
Schema
Operation-specific failure: VALIDATION_ERROR (400) means invalid inputs; correct field_errors. INVALID_CURSOR (400) means the continuation token is invalid or expired; restart listing. WORKFLOW_NOT_FOUND (404) means the workflow is missing or inaccessible; verify the ID and access. WORKFLOW_FORBIDDEN (403) means the operation is forbidden for this caller; use a permitted role or ask an administrator. WORKFLOW_VERSION_CONFLICT (409) means the version changed; retrieve the current version and reconcile updates. WORKFLOW_NOT_EDITABLE (409) means requested fields cannot be updated; consult authoring.patchable_fields. WORKFLOW_STATE_CONFLICT (409) means the requested operation is incompatible with the current state; retrieve and review the state before resubmitting.
Human-readable explanation of the request failure. Use code for programmatic handling.
field_errors object[]
Dot-separated request field path; root identifies a validation error spanning multiple fields.
Machine-readable validation code for this field.
Human-readable explanation of the field validation failure.
{
"code": "VALIDATION_ERROR",
"message": "string",
"field_errors": [
{
"field": "string",
"code": "string",
"message": "string"
}
]
}
Authentication is required or the supplied credentials are invalid.
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1ok booleanrequired
Whether the request succeeded. Always false for an authentication error.
Possible values: [false]error stringrequiredA human-readable explanation of why authentication failed.
- Format 1
{
"ok": false,
"error": "Incorrect authentication credentials."
}
The workflow request failed.
- application/json
- Schema
- Example (from schema)
Schema
Operation-specific failure: VALIDATION_ERROR (400) means invalid inputs; correct field_errors. INVALID_CURSOR (400) means the continuation token is invalid or expired; restart listing. WORKFLOW_NOT_FOUND (404) means the workflow is missing or inaccessible; verify the ID and access. WORKFLOW_FORBIDDEN (403) means the operation is forbidden for this caller; use a permitted role or ask an administrator. WORKFLOW_VERSION_CONFLICT (409) means the version changed; retrieve the current version and reconcile updates. WORKFLOW_NOT_EDITABLE (409) means requested fields cannot be updated; consult authoring.patchable_fields. WORKFLOW_STATE_CONFLICT (409) means the requested operation is incompatible with the current state; retrieve and review the state before resubmitting.
Human-readable explanation of the request failure. Use code for programmatic handling.
field_errors object[]
Dot-separated request field path; root identifies a validation error spanning multiple fields.
Machine-readable validation code for this field.
Human-readable explanation of the field validation failure.
{
"code": "VALIDATION_ERROR",
"message": "string",
"field_errors": [
{
"field": "string",
"code": "string",
"message": "string"
}
]
}
The workflow request failed.
- application/json
- Schema
- Example (from schema)
Schema
Operation-specific failure: VALIDATION_ERROR (400) means invalid inputs; correct field_errors. INVALID_CURSOR (400) means the continuation token is invalid or expired; restart listing. WORKFLOW_NOT_FOUND (404) means the workflow is missing or inaccessible; verify the ID and access. WORKFLOW_FORBIDDEN (403) means the operation is forbidden for this caller; use a permitted role or ask an administrator. WORKFLOW_VERSION_CONFLICT (409) means the version changed; retrieve the current version and reconcile updates. WORKFLOW_NOT_EDITABLE (409) means requested fields cannot be updated; consult authoring.patchable_fields. WORKFLOW_STATE_CONFLICT (409) means the requested operation is incompatible with the current state; retrieve and review the state before resubmitting.
Human-readable explanation of the request failure. Use code for programmatic handling.
field_errors object[]
Dot-separated request field path; root identifies a validation error spanning multiple fields.
Machine-readable validation code for this field.
Human-readable explanation of the field validation failure.
{
"code": "VALIDATION_ERROR",
"message": "string",
"field_errors": [
{
"field": "string",
"code": "string",
"message": "string"
}
]
}
The workflow request failed.
- application/json
- Schema
- Example (from schema)
Schema
Operation-specific failure: VALIDATION_ERROR (400) means invalid inputs; correct field_errors. INVALID_CURSOR (400) means the continuation token is invalid or expired; restart listing. WORKFLOW_NOT_FOUND (404) means the workflow is missing or inaccessible; verify the ID and access. WORKFLOW_FORBIDDEN (403) means the operation is forbidden for this caller; use a permitted role or ask an administrator. WORKFLOW_VERSION_CONFLICT (409) means the version changed; retrieve the current version and reconcile updates. WORKFLOW_NOT_EDITABLE (409) means requested fields cannot be updated; consult authoring.patchable_fields. WORKFLOW_STATE_CONFLICT (409) means the requested operation is incompatible with the current state; retrieve and review the state before resubmitting.
Human-readable explanation of the request failure. Use code for programmatic handling.
field_errors object[]
Dot-separated request field path; root identifies a validation error spanning multiple fields.
Machine-readable validation code for this field.
Human-readable explanation of the field validation failure.
{
"code": "VALIDATION_ERROR",
"message": "string",
"field_errors": [
{
"field": "string",
"code": "string",
"message": "string"
}
]
}