---
title: "Reorder mute rules"
method: POST
path: "/api/v2/security/findings/automation/mute_rules/reorder"
tags: ["Security Monitoring"]
---

# Reorder mute rules

`POST /api/v2/security/findings/automation/mute_rules/reorder`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/security/findings/automation/mute_rules/reorder`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Reorder the list of mute rules for the current organization.

## Request body

- MuteRuleReorderRequest: The body of the mute rule reorder request.
  - `data` MuteRuleReorderItem[], required: The ordered list of all mute rules; every rule must be included.
    - `id` string, uuid, required: The ID of the automation rule.
    - `type` 'mute_rules', required: The JSON:API type for mute rules.

## Response `200`

Successfully reordered the mute rules

- MuteRuleReorderRequest: The body of the mute rule reorder request.
  - `data` MuteRuleReorderItem[], required: The ordered list of all mute rules; every rule must be included.
    - `id` string, uuid, required: The ID of the automation rule.
    - `type` 'mute_rules', required: The JSON:API type for mute rules.

## Other responses

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

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
