---
title: "Changes to Create an identity for a principal"
method: POST
path: "/v2/directories/{directoryId}/principals/{principalId}/identities"
---

# Changes to Create an identity for a principal

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 73 revisions.

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

## Changes

- **2026-11-20** `757a21fb79f2`: 4 breaking, 4 warning, 8 info
  - the `oneOf[#/components/schemas/KongPrincipalIdentityAuthServerClientResponse]/managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `201`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityCPConsumerResponse]/managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `201`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityCustomResponse]/managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `201`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityOIDCResponse]/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 `oneOf[#/components/schemas/KongPrincipalIdentityAuthServerClient]/managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - changed the pattern of the request property `oneOf[#/components/schemas/KongPrincipalIdentityCPConsumer]/managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - changed the pattern of the request property `oneOf[#/components/schemas/KongPrincipalIdentityCustom]/managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - changed the pattern of the request property `oneOf[#/components/schemas/KongPrincipalIdentityOIDC]/managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityAuthServerClient]/managed_by/additionalProperties/` request property's maxLength was increased from `63` to `127`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityCPConsumer]/managed_by/additionalProperties/` request property's maxLength was increased from `63` to `127`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityCustom]/managed_by/additionalProperties/` request property's maxLength was increased from `63` to `127`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityOIDC]/managed_by/additionalProperties/` request property's maxLength was increased from `63` to `127`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityAuthServerClientResponse]/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`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityCPConsumerResponse]/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`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityCustomResponse]/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`
  - the `oneOf[#/components/schemas/KongPrincipalIdentityOIDCResponse]/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/:principalId/identities/post.md) - [API](https://skmtc.dev/kong/apis/konnect-api.md) - [Page](https://skmtc.dev/kong/apis/konnect-api/changes/v2/directories/:directoryId/principals/:principalId/identities/post)
