---
title: "Update an AxisSection by id"
method: PUT
path: "/api/v3/axisSections/{id}"
tags: ["Axis-sections"]
---

# Update an AxisSection by id

`PUT /api/v3/axisSections/{id}`

Partial or complete update to an existing AxisSection.

## Request body

- OrgAxisSection
  - `id` integer
  - `name` string
  - `url` string, uri
  - `code` string, required
  - `multilingualName` union, required — The following characters should be avoided in the actual name of the axis-sections: `"["`, `"]"` and `"|"`. Besides, slashes `"/"` and backslashes `"\"` might also cause problems. To learn more about this, please refer to [Get Started With Axis-Sections](./get-started).
    - object
    - string
  - `description` string, nullable
  - `ownerId` integer, nullable
  - `startOn` string, date-time, nullable
  - `endOn` string, date-time, nullable
  - `active` boolean
  - `axisId` integer, required
  - `isPublic` boolean
  - `departments` object[] — List of departments associated with this axis-section. Only applicable when `isPublic` is `false`.
    - `id` integer
  - `legalEntities` object[] — List of legal entities associated with this axis-section. Only applicable when `isPublic` is `false`.
    - `id` integer
  - `users` object[] — List of users associated with this axis-section. Only applicable when `isPublic` is `false`.
    - `id` integer
  - `parentAxisSections` AxisSectionTreeless[]
    - `id` integer
    - `name` string
    - `url` string, uri
    - `code` string, required
    - `multilingualName` union, required — The following characters should be avoided in the actual name of the axis-sections: `"["`, `"]"` and `"|"`. Besides, slashes `"/"` and backslashes `"\"` might also cause problems. To learn more about this, please refer to [Get Started With Axis-Sections](./get-started).
      - object
      - string
    - `description` string, nullable
    - `ownerId` integer, nullable
    - `startOn` string, date-time, nullable
    - `endOn` string, date-time, nullable
    - `active` boolean
    - `axisId` integer, required
    - `isPublic` boolean
    - `departments` object[] — List of departments associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
    - `legalEntities` object[] — List of legal entities associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
    - `users` object[] — List of users associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
  - `childrenAxisSections` AxisSectionTreeless[]
    - `id` integer
    - `name` string
    - `url` string, uri
    - `code` string, required
    - `multilingualName` union, required — The following characters should be avoided in the actual name of the axis-sections: `"["`, `"]"` and `"|"`. Besides, slashes `"/"` and backslashes `"\"` might also cause problems. To learn more about this, please refer to [Get Started With Axis-Sections](./get-started).
      - object
      - string
    - `description` string, nullable
    - `ownerId` integer, nullable
    - `startOn` string, date-time, nullable
    - `endOn` string, date-time, nullable
    - `active` boolean
    - `axisId` integer, required
    - `isPublic` boolean
    - `departments` object[] — List of departments associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
    - `legalEntities` object[] — List of legal entities associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
    - `users` object[] — List of users associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer

## Response `200`

OK

- object
  - `data` OrgAxisSection
    - `id` integer
    - `name` string
    - `url` string, uri
    - `code` string, required
    - `multilingualName` union, required — The following characters should be avoided in the actual name of the axis-sections: `"["`, `"]"` and `"|"`. Besides, slashes `"/"` and backslashes `"\"` might also cause problems. To learn more about this, please refer to [Get Started With Axis-Sections](./get-started).
      - object
      - string
    - `description` string, nullable
    - `ownerId` integer, nullable
    - `startOn` string, date-time, nullable
    - `endOn` string, date-time, nullable
    - `active` boolean
    - `axisId` integer, required
    - `isPublic` boolean
    - `departments` object[] — List of departments associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
    - `legalEntities` object[] — List of legal entities associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
    - `users` object[] — List of users associated with this axis-section. Only applicable when `isPublic` is `false`.
      - `id` integer
    - `parentAxisSections` AxisSectionTreeless[]
      - `id` integer
      - `name` string
      - `url` string, uri
      - `code` string, required
      - `multilingualName` union, required — The following characters should be avoided in the actual name of the axis-sections: `"["`, `"]"` and `"|"`. Besides, slashes `"/"` and backslashes `"\"` might also cause problems. To learn more about this, please refer to [Get Started With Axis-Sections](./get-started).
        - object
        - string
      - `description` string, nullable
      - `ownerId` integer, nullable
      - `startOn` string, date-time, nullable
      - `endOn` string, date-time, nullable
      - `active` boolean
      - `axisId` integer, required
      - `isPublic` boolean
      - `departments` object[] — List of departments associated with this axis-section. Only applicable when `isPublic` is `false`.
        - `id` integer
      - `legalEntities` object[] — List of legal entities associated with this axis-section. Only applicable when `isPublic` is `false`.
        - `id` integer
      - `users` object[] — List of users associated with this axis-section. Only applicable when `isPublic` is `false`.
        - `id` integer
    - `childrenAxisSections` AxisSectionTreeless[]
      - `id` integer
      - `name` string
      - `url` string, uri
      - `code` string, required
      - `multilingualName` union, required — The following characters should be avoided in the actual name of the axis-sections: `"["`, `"]"` and `"|"`. Besides, slashes `"/"` and backslashes `"\"` might also cause problems. To learn more about this, please refer to [Get Started With Axis-Sections](./get-started).
        - object
        - string
      - `description` string, nullable
      - `ownerId` integer, nullable
      - `startOn` string, date-time, nullable
      - `endOn` string, date-time, nullable
      - `active` boolean
      - `axisId` integer, required
      - `isPublic` boolean
      - `departments` object[] — List of departments associated with this axis-section. Only applicable when `isPublic` is `false`.
        - `id` integer
      - `legalEntities` object[] — List of legal entities associated with this axis-section. Only applicable when `isPublic` is `false`.
        - `id` integer
      - `users` object[] — List of users associated with this axis-section. Only applicable when `isPublic` is `false`.
        - `id` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/luccasoftware/apis/lucca-expenses.md) · [All operations](https://skmtc.net/luccasoftware/apis/lucca-expenses/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/luccasoftware/lucca-expenses/versions/110f9897756c/schema)
