---
title: "Update administrative division (deprecated)"
method: PUT
path: "/divisions-core/v2/administrative-division/{id}"
tags: ["Administrative divisions V2 (deprecated)"]
deprecated: true
---

# Update administrative division (deprecated)

`PUT /divisions-core/v2/administrative-division/{id}`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/divisions-core/v2/administrative-division/{id}`
- Auth: HTTP bearer

> **Deprecated.**

**DEPRECATED**. Call [Update holiday calendar](ref:update-holiday-calendar) instead. 

Update an administrative division.

## Path parameters

- `id` integer, required

## Request body

- PresenterV2UpdateAdministrativeDivisionRequest: Data to update an administrative division (transaction banking)
  - `name` string: Administrative division name
  - `type` 'City' | 'State' | 'Country': Admin division type
  - `parent_id` integer: Parent ID
  - `external_id` string: Client-supplied external ID. It must comply with the rule `^[a-zA-Z0-9-]+$`.
  - `working_days` integer[]: Week days that are working days where `0` = Sunday and `6` = Saturday. The default - [1,2,3,4,5] - corresponds to Monday through Friday.
  - `metadata` Metadata: A valid JSON schema as specified in [https://json-schema.org/specification.html](https://json-schema.org/specification.html). Used to register the rules that are used to authorize the transaction. This object uses [parameters](doc:posting-transactions-on-holidays#parameters) to specify business rules for holidays. For details, see [Posting Transactions on Holidays](doc:posting-transactions-on-holidays). **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](ref:get-started-with-pismo-apis#metadata).

## Response `200`

Updated

- PresenterV2AdministrativeDivisionResponse: Administrative division response
  - `id` integer: Admininistrative division ID
  - `external_id` string: Client-supplied external ID. It must comply with the rule `^[a-zA-Z0-9-]+$`.
  - `name` string: Administrative division name
  - `parent_id` integer: Parent ID
  - `type` 'City' | 'State' | 'Country': Admin division type
  - `working_days` integer[]: Week days that are working days where `0` = Sunday and `6` = Saturday. The default - [1,2,3,4,5] - corresponds to Monday through Friday.
  - `metadata` Metadata: A valid JSON schema as specified in [https://json-schema.org/specification.html](https://json-schema.org/specification.html). Used to register the rules that are used to authorize the transaction. This object uses [parameters](doc:posting-transactions-on-holidays#parameters) to specify business rules for holidays. For details, see [Posting Transactions on Holidays](doc:posting-transactions-on-holidays). **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](ref:get-started-with-pismo-apis#metadata).

## Other responses

- `400`: Bad request error.
- `401`: Access token is missing or invalid
- `404`: Not found error.
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-setup-divisions.md) - [All operations](https://skmtc.dev/pismo/apis/platform-setup-divisions/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-setup-divisions/revisions/eadd2f8d71a2?raw)
