Kong Identity Directories
Create a new Directory
Changed onCreates a new directory for grouping principals around an organizational identity boundary. Directories can be configured with metadata, labels, and control plane access restrictions.
post/v2/directories
Request
- Base URL: https://us.api.konghq.com
- URL: https://us.api.konghq.com/v2/directories
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"labels": {
"env": "test"
},
"managed_by": {
"owner": "terraform"
}
}Response
A Directory
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"labels": {
"env": "test"
},
"managed_by": {
"owner": "terraform"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info