---
title: "Bulk inactivate country allocation templates"
method: POST
path: "/demand/accounts/{account_id}/business-units/{business_unit_id}/bulk-inactivate-country-allocation-templates"
tags: ["Allocation Templates Admin"]
---

# Bulk inactivate country allocation templates

`POST /demand/accounts/{account_id}/business-units/{business_unit_id}/bulk-inactivate-country-allocation-templates`

## Request

- Base URL: `https://api.cint.com/v1`
- URL: `https://api.cint.com/v1/demand/accounts/{account_id}/business-units/{business_unit_id}/bulk-inactivate-country-allocation-templates`
- Auth: HTTP bearer

Inactivates multiple country-level allocation templates for the given account and business unit. Returns the IDs of the successfully inactivated templates and those that could not be inactivated.

## Request body

- BulkInactivateCountryAllocationTemplatesRequest
  - `allocation_template_ids` TemplateID[], required: The IDs of the country allocation templates to inactivate.

## Response `200`

All templates were inactivated successfully.

- BulkInactivateCountryAllocationTemplatesResponse
  - `inactivated_template_ids` TemplateID[], required: The IDs of the country allocation templates that were successfully inactivated.

## Other responses

- `207`: Not every template was inactivated. Check `failed_template_ids` for the ones that could not be inactivated. `inactivated_template_ids` is empty when none of them could be.
- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `404`: A requested resource isn't found.
- `422`: The templates could not be inactivated. The response has one entry in `errors`. Its `description` lists the IDs of the templates that failed, separated by commas.
- `429`: The request was rate limited. Please retry after the specified delay.
- `500`: A request failed due to an internal error.

## Changes

- **2026-11-06** `077a4bdda5cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cint/apis/demand-api/changes/demand/accounts/:account_id/business-units/:business_unit_id/bulk-inactivate-country-allocation-templates/post.md)

---

[API](https://skmtc.dev/cint/apis/demand-api.md) - [All operations](https://skmtc.dev/cint/apis/demand-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cint/apis/demand-api/revisions/30b31fabd6c6?raw)
