---
title: "Batch save contract configs"
method: POST
path: "/management/v2/compliance/contract-config:batch-save"
tags: ["Compliance"]
---

# Batch save contract configs

`POST /management/v2/compliance/contract-config:batch-save`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/compliance/contract-config:batch-save`
- Auth: API key in header `OAuth`

Batch save contract configs.

## Request body

- ContractConfigBatchSaveRequest
  - `configs` V2modelContractConfig[]
    - `id` integer
    - `contractId` integer
    - `category` 'CONTRACT_CONFIG_CATEGORY_UNKNOWN' | 'CONTRACT_CONFIG_CATEGORY_GLOBAL_SETTINGS' | 'CONTRACT_CONFIG_CATEGORY_JUNIOR_RATE' | 'CONTRACT_CONFIG_CATEGORY_CONTRACT_DETAILS' | 'CONTRACT_CONFIG_CATEGORY_PAY_POLICY_CONTEXT' | 'CONTRACT_CONFIG_CATEGORY_SHARED_CONTEXT' | 'CONTRACT_CONFIG_CATEGORY_EXPORT_CODE_TEMPLATE'
    - `config` string
    - `status` 'CONTRACT_CONFIG_STATUS_INACTIVE' | 'CONTRACT_CONFIG_STATUS_ACTIVE' | 'CONTRACT_CONFIG_STATUS_ARCHIVED'
  - `confirmCustomisation` boolean

## Response `200`

A successful response.

- ContractConfigBatchSaveResponse
  - `success` boolean
  - `error` string
  - `requiresConfirmation` boolean

---

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