---
title: "Remove Flows From A Project (Deprecated)"
method: DELETE
path: "/projects/{project_id}/data_flows"
tags: ["Projects"]
---

# Remove Flows From A Project (Deprecated)

`DELETE /projects/{project_id}/data_flows`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/projects/{project_id}/data_flows`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/projects/:project_id/data_flows/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes data flows from a project. If no request body is provided, all flows belonging to the project will be removed. The flows themselves will not be deleted, but they will no longer belong to the project.

> **Note**: This version of the endpoint has been deprecated. The request body and response does not reference flows with new unique flow_ids, instead references composite data flow ids of the type `{resource_type}/{resource_id}`. See remove_project_flows for a new version of this endpoint that references unique `flow_id`.

## Path parameters

- `project_id` integer, required

## Request body

- ProjectFlowList
  - `data_flows` ProjectFlowIdentifier[]
    - union
      - object
        - `data_source_id` integer: The ID of the data source which is the root node of this flow chain. Unless the flow chain has been created from a shared Nexset, flow definitions start from the source as the root node. This property reflects the source that is the root node of this flow.
      - object
        - `data_set_id` integer: The ID of the Nexset which is the root node of this flow chain. This property is not null only if the flow was created from a shared Nexset. In that case, this value reflects the ID of the derived dataset created from the shared Nexset.

## Response `200`

Success

- ProjectDataFlow[]
  - `id` integer: Unique identifier of this flow.
  - `project_id` integer: Unique identifier of the project this flow belongs to.
  - `data_source_id` integer: The ID of the data source which is the root node of this flow chain. Unless the flow chain has been created from a shared Nexset, flow definitions start from the source as the root node. This property reflects the source that is the root node of this flow.
  - `data_set_id` integer: The ID of the Nexset which is the root node of this flow chain. This property is not null only if the flow was created from a shared Nexset. In that case, this value reflects the ID of the derived dataset created from the shared Nexset.
  - `updated_at` string
  - `created_at` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
