---
title: "PUT /api/tenants/{tenantId}/regulations/{regulationId}"
method: PUT
path: "/api/tenants/{tenantId}/regulations/{regulationId}"
tags: ["Regulations"]
---

# PUT /api/tenants/{tenantId}/regulations/{regulationId}

`PUT /api/tenants/{tenantId}/regulations/{regulationId}`

## Path parameters

- `tenantId` integer, required
- `regulationId` string, required

## Request body

- Regulation
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required
  - `nameLocalizations` object, nullable
  - `namespace` string, nullable
  - `version` integer
  - `sharedRegulation` boolean
  - `validFrom` string, date-time, nullable
  - `owner` string, nullable
  - `description` string, nullable
  - `descriptionLocalizations` object, nullable
  - `baseRegulations` string[], nullable
  - `attributes` object, nullable

## Response `200`

OK

- Regulation
  - `id` integer
  - `status` 'Active' | 'Inactive'
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required
  - `nameLocalizations` object, nullable
  - `namespace` string, nullable
  - `version` integer
  - `sharedRegulation` boolean
  - `validFrom` string, date-time, nullable
  - `owner` string, nullable
  - `description` string, nullable
  - `descriptionLocalizations` object, nullable
  - `baseRegulations` string[], nullable
  - `attributes` object, nullable

## Other responses

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

---

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