---
title: "Update pipeline order"
method: PUT
path: "/api/v1/logs/config/pipeline-order"
tags: ["Logs Pipelines"]
---

# Update pipeline order

`PUT /api/v1/logs/config/pipeline-order`

Update the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change
the structure and content of the data processed by other pipelines and their processors.

**Note**: Using the `PUT` method updates your pipeline order by replacing your current order
with the new one sent to your Datadog organization.

## Request body

- LogsPipelinesOrder — Object containing the ordered list of pipeline IDs.
  - `pipeline_ids` string[], required — Ordered Array of `<PIPELINE_ID>` strings, the order of pipeline IDs in the array define the overall Pipelines order for Datadog.

## Response `200`

OK

- LogsPipelinesOrder — Object containing the ordered list of pipeline IDs.
  - `pipeline_ids` string[], required — Ordered Array of `<PIPELINE_ID>` strings, the order of pipeline IDs in the array define the overall Pipelines order for Datadog.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `422` — Unprocessable Entity
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v1.md) · [All operations](https://skmtc.net/datadog/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v1/revisions/ca5871004d26/schema)
