---
title: "Deactivate Configuration"
method: PATCH
path: "/api/v1/configurations/{configuration_id}/deactivate"
tags: ["configurations"]
---

# Deactivate Configuration

`PATCH /api/v1/configurations/{configuration_id}/deactivate`

## Request

- The document declares no server URL.
- Auth: none declared

Deactivate the specified configuration.

Args:
    configuration_id (UUID): ID of the configuration to update
    user (DbUser): The logged-in user
    logger (Logger): The standard application logger
    db (AsyncDatabaseConnection): Database connection

Raises:
    HTTPException: 400 if configuration can't be deactivated because of its current state
    HTTPException: 404 if configuration can't be found
    HTTPException: 500 if configuration can't be deactivated by the server

Returns:
    ConfigurationStatusUpdateResponse: Metadata about the activated condition for confirmation

## Path parameters

- `configuration_id` string, uuid, required

## Response `200`

Successful Response

- ConfigurationStatusUpdateResponse: Response model for updating the status a configuration.
  - `configuration_id` string, uuid, required
  - `status` 'draft' | 'inactive' | 'active', required

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-05** `1b704b76a93b`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2025-12-11** `7aee29de4fba`: 2 breaking
  - removed the required property `condition_canonical_url` from the response with the `200` status
  - removed the required property `version` from the response with the `200` status
- **2025-12-08** `5b8baaaf11e9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/changes/api/v1/configurations/:configuration_id/deactivate/patch.md)

---

[API](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner.md) - [All operations](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/llms.txt) - [OpenAPI document](https://skmtc.dev/cdcgov/apis/dibbs-ecr-refiner/revisions/7312cd4b44ac?raw)
