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

# Create a compliance plan

`POST /configuration_manager/compliance_plans`

## Request

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

Creates a compliance plan which can be used to execute compliance reports.

## Request body

- object
  - `name` string
  - `options` ConfigurationManagerCompliancePlansPostRequestBodyContentApplicationJsonSchemaOptions
    - `description` string: Description of the compliance plan.
    - `status` 'draft' | 'active': The status of the compliance plan.
    - `nodes` ConfigurationManagerCompliancePlansPostRequestBodyContentApplicationJsonSchemaOptionsNodesItems[]: 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` ConfigurationManagerCompliancePlansPostRequestBodyContentApplicationJsonSchemaOptionsNodesItemsVariables
      - `devices` ConfigurationManagerDeviceDataDeviceName[]
      - `deviceGroups` ConfigurationManagerCommonMongoObjectId[]
      - `tasks` ConfigurationManagerCommonMongoObjectId[]

## Response `200`

Details of the newly created compliance plan

- ConfigurationManagerCreateCompliancePlanResponse200

## 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/post.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)
