---
title: "Changes to Create a Principal in a Directory"
method: POST
path: "/v2/directories/{directoryId}/principals"
---

# Changes to Create a Principal in a Directory

`POST /v2/directories/{directoryId}/principals`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 73 revisions.

- **2026-11-20** `757a21fb79f2`: 1 breaking, 1 warning, 3 info
- **2026-11-05** `f018071a4515`: 1 info

## Changes

- **2026-11-20** `757a21fb79f2`: 1 breaking, 1 warning, 3 info
  - the `managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `201`
  - changed the pattern of the request property `managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - the `managed_by/additionalProperties/` request property's maxLength was increased from `63` to `127`
  - the `provisioned_by` response's property default value `konnect_user` was removed for the status `201`
  - the `managed_by/additionalProperties/` response's property pattern was changed from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$` for the status `201`
- **2026-11-05** `f018071a4515`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api/docs/v2/directories/:directoryId/principals/post.md) - [API](https://skmtc.dev/kong/apis/konnect-api.md) - [Page](https://skmtc.dev/kong/apis/konnect-api/changes/v2/directories/:directoryId/principals/post)
