---
title: "Изменить шаблон приёма или увольнения"
method: PATCH
path: "/api/v1/core/employee-lifecycle-templates/{id}"
tags: ["Core employee operations"]
---

# Изменить шаблон приёма или увольнения

`PATCH /api/v1/core/employee-lifecycle-templates/{id}`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/core/employee-lifecycle-templates/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2
    - Authorization code: `https://erp.akeda.ru/oauth2/authorize`
    - Token URL: `https://erp.akeda.ru/oauth2/token` scopes: `akeda:delegate`
  - HTTP bearer

Изменяет существующий шаблон приёма или увольнения сотрудника.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant` string, required

## Request body

- CoreEmployeeLifecycleTemplateInput
  - `kind` 'onboarding' | 'offboarding', required
  - `name` string, required
  - `checklist` string[], required
  - `is_active` boolean

## Response `200`

Обновлённый шаблон

- CoreEmployeeLifecycleTemplate
  - `id` string, uuid, required
  - `kind` 'onboarding' | 'offboarding', required
  - `name` string, required
  - `checklist` string[], required
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Некорректный запрос или нарушение бизнес-правила
- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `404`: Запись не найдена или не видима текущему пользователю

## Changes

- **2026-10-27** `4323d2165568`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akeda/apis/akeda-erp-client-api/changes/api/v1/core/employee-lifecycle-templates/:id/patch.md)

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) - [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/084f7bbc939c?raw)
