---
title: "Update a compliance plan"
method: PUT
path: "/configuration_manager/compliance_plans"
tags: ["Configuration Manager"]
---

# Update a compliance plan

`PUT /configuration_manager/compliance_plans`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/configuration_manager/compliance_plans`
- Auth: none declared

Updates a compliance plan that already exists.

## Request body

- object
  - `planId` string
  - `options` ConfigurationManagerCompliancePlansPutRequestBodyContentApplicationJsonSchemaOptions
    - `description` string: Description of the compliance plan.
    - `name` string: New name for the Compliance Plan
    - `status` 'draft' | 'active': The status of the compliance plan.
    - `nodes` ConfigurationManagerCompliancePlansPutRequestBodyContentApplicationJsonSchemaOptionsNodesItems[]: Nodes to add into the compliance plan.
      - `treeId` string: The treeId of the GC that the node belongs to.
      - `version` string: The version of the GC tree that the node belongs to.
      - `nodeId` string: The configId of the node.
      - `variables` ConfigurationManagerCompliancePlansPutRequestBodyContentApplicationJsonSchemaOptionsNodesItemsVariables
      - `devices` ConfigurationManagerDeviceDataDeviceName[]
      - `deviceGroups` ConfigurationManagerCommonMongoObjectId[]
      - `tasks` ConfigurationManagerCommonMongoObjectId[]
    - `gbac` ConfigurationManagerCompliancePlansPutRequestBodyContentApplicationJsonSchemaOptionsGbac
      - `read` string[]
      - `write` string[]

## Response `200`

updateResult

- ConfigurationManagerUpdateCompliancePlanResponse200
  - `status` 'success'
  - `message` string

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Configuration Manager` added
  - api tag `configurationManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/configuration_manager/compliance_plans/put.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
