---
updatedAt: 2026-06-24T15:01:46.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# Update administrative division (deprecated)

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

This endpoint is deprecated starting April 30, 2026, and final removal from both test (EXT) and production environments on October 30, 2026.

Update administrative division.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Platform setup - Divisions",
    "description": "Use administrative divisions to align organization territory with business needs",
    "version": "v1.0",
    "contact": {
      "name": "Pismo Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io",
      "description": "Sandbox API server for testing"
    }
  ],
  "security": [
    {
      "S2SAuthentication": []
    }
  ],
  "tags": [
    {
      "name": "Administrative divisions (deprecated)",
      "description": "View and manage administrative divisions."
    }
  ],
  "components": {
    "parameters": {
      "AdminDivisionIdPath": {
        "description": "Administrative division ID.",
        "in": "path",
        "name": "id",
        "required": true,
        "schema": {
          "type": "integer"
        }
      }
    },
    "schemas": {
      "AdminDivisionExternalID": {
        "type": "string",
        "description": "Client-supplied external ID. It must comply with the rule `^[a-zA-Z0-9-]+$`.",
        "example": "8675309"
      },
      "AdminDivisionID": {
        "type": "integer",
        "description": "Admininistrative division ID",
        "example": 84849
      },
      "AdminDivisionName": {
        "type": "string",
        "description": "Administrative division name",
        "example": "Scotland"
      },
      "AdminDivisionParentID": {
        "type": "integer",
        "description": "Parent ID"
      },
      "AdminDivisionType": {
        "type": "string",
        "description": "Admin division type",
        "enum": [
          "City",
          "State",
          "Country"
        ],
        "example": "State"
      },
      "handler.HTTPError": {
        "description": "Code and error message.",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code"
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "presenter.v1AdministrativeDivisionResponse": {
        "type": "object",
        "description": "Administrative division data.",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/AdminDivisionID"
          },
          "name": {
            "$ref": "#/components/schemas/AdminDivisionName"
          },
          "type": {
            "$ref": "#/components/schemas/AdminDivisionType"
          },
          "parent_id": {
            "$ref": "#/components/schemas/AdminDivisionParentID"
          },
          "external_id": {
            "$ref": "#/components/schemas/AdminDivisionExternalID"
          }
        }
      },
      "presenter.v1UpdateAdministrativeDivisionRequest": {
        "type": "object",
        "description": "Data to update an administrative division",
        "required": [
          "name",
          "type"
        ],
        "properties": {
          "name": {
            "$ref": "#/components/schemas/AdminDivisionName"
          },
          "type": {
            "$ref": "#/components/schemas/AdminDivisionType"
          },
          "parent_id": {
            "$ref": "#/components/schemas/AdminDivisionParentID"
          },
          "external_id": {
            "$ref": "#/components/schemas/AdminDivisionExternalID"
          }
        }
      }
    },
    "responses": {
      "401UnauthorizedError": {
        "description": "Access token is missing or invalid",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/handler.HTTPError"
            }
          }
        }
      },
      "500InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/handler.HTTPError"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "S2SAuthentication": {
        "type": "http",
        "scheme": "bearer",
        "description": "All requests must be previously authenticated with an account token."
      }
    },
    "examples": {
      "MissingTenantResponse": {
        "value": {
          "code": "400",
          "message": "Missing x-tenant header"
        }
      },
      "InvalidParamsResponse": {
        "value": {
          "code": "400",
          "message": "Invalid {parameter_name} parameter value"
        }
      },
      "NotFoundResponse": {
        "value": {
          "code": "404",
          "message": "{target_name} not found"
        }
      },
      "GetV1AdministrativeDivisionResponse": {
        "value": {
          "id": 1,
          "name": "Brazil",
          "type": "Country",
          "parent_id": 0,
          "external_id": "BR"
        }
      }
    }
  },
  "paths": {
    "/divisions-core/v1/administrative-division/{id}": {
      "put": {
        "summary": "Update administrative division (deprecated)",
        "description": "**DEPRECATED**. Call [Update holiday calendar](https://developers.pismo.io/pismo-docs/reference/update-holiday-calendar) instead. \n\nThis endpoint is deprecated starting April 30, 2026, and final removal from both test (EXT) and production environments on October 30, 2026.\n\nUpdate administrative division.\n",
        "tags": [
          "Administrative divisions (deprecated)"
        ],
        "operationId": "put-v1-admin-division",
        "deprecated": true,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/presenter.v1UpdateAdministrativeDivisionRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/AdminDivisionIdPath"
          }
        ],
        "responses": {
          "200": {
            "description": "Updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/presenter.v1AdministrativeDivisionResponse"
                },
                "examples": {
                  "response-v1-administrative-division": {
                    "$ref": "#/components/examples/GetV1AdministrativeDivisionResponse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handler.HTTPError"
                },
                "examples": {
                  "response-missing-tenant": {
                    "$ref": "#/components/examples/MissingTenantResponse"
                  },
                  "invalid-params-response": {
                    "$ref": "#/components/examples/InvalidParamsResponse"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401UnauthorizedError"
          },
          "404": {
            "description": "Not found error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/handler.HTTPError"
                },
                "examples": {
                  "not-found-response": {
                    "$ref": "#/components/examples/NotFoundResponse"
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/500InternalServerError"
          }
        }
      }
    }
  }
}
```