# Delete a workflow

> Delete a workflow

DELETE

/workflows/{id}/

Deletes a workflow by ID.

#### Helpful resources

-   [Get started with workflows](https://developer.rippling.com/documentation/rippling-platform/developer/workflows/get-started)
-   [Create and manage workflows](https://developer.rippling.com/documentation/rest-api/guides/workflows)

### Required Scopes

-   workflows.read-write
    

### Request

Path Parameters

**id** string required

## Responses

-   204
-   400
-   401
-   403
-   404
-   409

Workflow deleted

The workflow request failed.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**code** string required

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.

**Possible values:** \[VALIDATION\_ERROR,INVALID\_CURSOR,WORKFLOW\_NOT\_FOUND,WORKFLOW\_FORBIDDEN,WORKFLOW\_VERSION\_CONFLICT,WORKFLOW\_NOT\_EDITABLE,WORKFLOW\_STATE\_CONFLICT\]

**message** string required

Human-readable explanation of the request failure. Use code for programmatic handling.

**field\_errors** object\[\]

Individual field validation failures, or an empty list for errors that are not field-specific.

Array \[

**field** string required

Dot-separated request field path; **root** identifies a validation error spanning multiple fields.

**code** string required

Machine-readable validation code for this field.

**message** string required

Human-readable explanation of the field validation failure.

\]

```json
{
  "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:
    
    1.  **Format 1**
        
        **ok** boolean required
        
        Whether the request succeeded. Always false for an authentication error.
        
        **Possible values:** \[false\]
        
        **error** string required
        
        A human-readable explanation of why authentication failed.
        

```json
{
  "ok": false,
  "error": "Incorrect authentication credentials."
}
```

The workflow request failed.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**code** string required

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.

**Possible values:** \[VALIDATION\_ERROR,INVALID\_CURSOR,WORKFLOW\_NOT\_FOUND,WORKFLOW\_FORBIDDEN,WORKFLOW\_VERSION\_CONFLICT,WORKFLOW\_NOT\_EDITABLE,WORKFLOW\_STATE\_CONFLICT\]

**message** string required

Human-readable explanation of the request failure. Use code for programmatic handling.

**field\_errors** object\[\]

Individual field validation failures, or an empty list for errors that are not field-specific.

Array \[

**field** string required

Dot-separated request field path; **root** identifies a validation error spanning multiple fields.

**code** string required

Machine-readable validation code for this field.

**message** string required

Human-readable explanation of the field validation failure.

\]

```json
{
  "code": "VALIDATION_ERROR",
  "message": "string",
  "field_errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

The workflow request failed.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**code** string required

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.

**Possible values:** \[VALIDATION\_ERROR,INVALID\_CURSOR,WORKFLOW\_NOT\_FOUND,WORKFLOW\_FORBIDDEN,WORKFLOW\_VERSION\_CONFLICT,WORKFLOW\_NOT\_EDITABLE,WORKFLOW\_STATE\_CONFLICT\]

**message** string required

Human-readable explanation of the request failure. Use code for programmatic handling.

**field\_errors** object\[\]

Individual field validation failures, or an empty list for errors that are not field-specific.

Array \[

**field** string required

Dot-separated request field path; **root** identifies a validation error spanning multiple fields.

**code** string required

Machine-readable validation code for this field.

**message** string required

Human-readable explanation of the field validation failure.

\]

```json
{
  "code": "VALIDATION_ERROR",
  "message": "string",
  "field_errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

The workflow request failed.

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**code** string required

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.

**Possible values:** \[VALIDATION\_ERROR,INVALID\_CURSOR,WORKFLOW\_NOT\_FOUND,WORKFLOW\_FORBIDDEN,WORKFLOW\_VERSION\_CONFLICT,WORKFLOW\_NOT\_EDITABLE,WORKFLOW\_STATE\_CONFLICT\]

**message** string required

Human-readable explanation of the request failure. Use code for programmatic handling.

**field\_errors** object\[\]

Individual field validation failures, or an empty list for errors that are not field-specific.

Array \[

**field** string required

Dot-separated request field path; **root** identifies a validation error spanning multiple fields.

**code** string required

Machine-readable validation code for this field.

**message** string required

Human-readable explanation of the field validation failure.

\]

```json
{
  "code": "VALIDATION_ERROR",
  "message": "string",
  "field_errors": [
    {
      "field": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
```

Source: https://developer.rippling.com/documentation/rest-api/reference/delete-workflows

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
