---
title: "POST /api/tenants/{tenantId}/logs"
method: POST
path: "/api/tenants/{tenantId}/logs"
tags: ["Logs"]
---

# POST /api/tenants/{tenantId}/logs

`POST /api/tenants/{tenantId}/logs`

## Path parameters

- `tenantId` integer, required

## Request body

- Log
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `level` 'Verbose' | 'Debug' | 'Information' | 'Warning' | 'Error' | 'Fatal'
  - `message` string, nullable
  - `user` string, nullable
  - `error` string, nullable
  - `comment` string, nullable
  - `owner` string, nullable
  - `ownerType` string, nullable

## Response `201`

Created

- Log
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `level` 'Verbose' | 'Debug' | 'Information' | 'Warning' | 'Error' | 'Fatal'
  - `message` string, nullable
  - `user` string, nullable
  - `error` string, nullable
  - `comment` string, nullable
  - `owner` string, nullable
  - `ownerType` string, nullable

## Other responses

- `404` — Not Found
- `422` — Unprocessable Content

## Changes

- **2026-03-09** `642427b60b7a` — 76 warning
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/addMethod/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/raiseMethod/methodImplementationFlags` response property for the response status `422`
  - added the new `8192.00` enum value to the `additionalProperties/errors/items/exception/targetSite/customAttributes/items/constructor/module/assembly/definedTypes/items/declaredEvents/items/removeMethod/methodImplementationFlags` response property for the response status `422`
  - …72 more
- …earlier changes not shown

[Full history](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/changes/api/tenants/:tenantId/logs/post.md)

---

[API](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1.md) · [All operations](https://skmtc.dev/payroll-engine/apis/payroll-engine-backend-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/payroll-engine/payroll-engine-backend-api-v1/revisions/34e260deaa2c/schema)
