---
title: "Reorder Groups"
method: PATCH
path: "/api/v2/sensitive-data-scanner/config"
tags: ["Sensitive Data Scanner"]
---

# Reorder Groups

`PATCH /api/v2/sensitive-data-scanner/config`

Reorder the list of groups.

## Request body

- SensitiveDataScannerConfigRequest — Group reorder request.
  - `data` SensitiveDataScannerReorderConfig, required — Data related to the reordering of scanning groups.
    - `id` string — ID of the configuration.
    - `relationships` SensitiveDataScannerConfigurationRelationships — Relationships of the configuration.
      - `groups` SensitiveDataScannerGroupList — List of groups, ordered.
        - `data` SensitiveDataScannerGroupItem[] — List of groups. The order is important.
          - `id` string — ID of the group.
          - `type` 'sensitive_data_scanner_group' — Sensitive Data Scanner group type.
    - `type` 'sensitive_data_scanner_configuration' — Sensitive Data Scanner configuration type.
  - `meta` SensitiveDataScannerMetaVersionOnly, required — Meta payload containing information about the API.
    - `version` integer — Version of the API (optional).

## Response `200`

OK

- SensitiveDataScannerReorderGroupsResponse — Group reorder response.
  - `meta` SensitiveDataScannerMeta — Meta response containing information about the API.
    - `count_limit` integer — Maximum number of scanning rules allowed for the org.
    - `group_count_limit` integer — Maximum number of scanning groups allowed for the org.
    - `has_highlight_enabled` boolean — (Deprecated) Whether or not scanned events are highlighted in Logs or RUM for the org.
    - `has_multi_pass_enabled` boolean — (Deprecated) Whether or not scanned events have multi-pass enabled.
    - `is_pci_compliant` boolean — Whether or not the org is compliant to the payment card industry standard.
    - `version` integer — Version of the API.

## Other responses

- `400` — Bad Request
- `403` — Authentication Error
- `429` — Too many requests

---

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