Download OpenAPI specification:Download
The management API for Kong Konnect Identity resources.
Returns the user account for the user identified in the token of the request.
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "preferred_name": "Jimmy",
- "active": true,
- "created_at": "1992-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:00:00.52Z"
}Deletes the user account for the user identified in the token of the request.
{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:952172606039454040",
- "detail": "A valid token is required"
}Updates the user account for the user identified in the token of the request.
The request schema for the update user request.
| full_name | string^[\w \W]+$ The user's full name. |
| preferred_name | string <= 250 characters The user's desired name. |
{- "full_name": "James C Woods",
- "preferred_name": "Jimmy"
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "preferred_name": "Jimmy",
- "active": true,
- "created_at": "1992-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:00:00.52Z"
}Update the password of the user identified in the token of the request.
| old_password required | string Old password. |
| new_password required | string New Password. |
{- "old_password": "string",
- "new_password": "string"
}{- "status": 400,
- "title": "Bad Request",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Returns the permissions for the current user
object Filter permissions returned in the response. |
{- "data": [
- {
- "resource": "krn:accounts:reg/*:org/aa878768-05cb-4811-90d2-b82ef61caf44",
- "actions": [
- "#root"
]
}
]
}Returns the organization of the user identified in the token of the request.
{- "created_at": "2023-01-18T11:35:45.130Z",
- "id": "023bfa42-3513-4cbf-b059-a9ddb4ea995d",
- "name": "Acme Co.",
- "owner_id": "e02c829c-0e2d-44b5-9057-07714ea613a3",
- "login_path": "acme",
- "updated_at": "2023-01-23T17:22:52.150Z",
- "state": "active",
- "retention_period_days": 90
}This operation allows you to change the organization's owner. The new user must be part of the organization's admin team.
The request schema to update an organization.
| owner_id | string The user id of the new owner of the organization. Must be a member of the organization's admin team. |
| name | string The new name of the organization. |
{- "owner_id": "df120cb4-f60b-47bc-a2f8-6a28e6a3c63b",
- "name": "Kong Inc"
}{- "created_at": "2023-01-18T11:35:45.130Z",
- "id": "023bfa42-3513-4cbf-b059-a9ddb4ea995d",
- "name": "Acme Co.",
- "owner_id": "e02c829c-0e2d-44b5-9057-07714ea613a3",
- "login_path": "acme",
- "updated_at": "2023-01-23T17:22:52.150Z",
- "state": "active",
- "retention_period_days": 90
}Lists the roles belonging to a managed system account.
| accountId required | string ID of the system account. |
object Filter roles returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adcd",
- "role_name": "Connector",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type_name": "Mesh Control Planes",
- "entity_region": "us",
- "parameters": {
- "zoneName": "zone2"
}
}, - {
- "id": "869d9402-f117-4f9a-840f-69acaf70a81a",
- "role_name": "Connector",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Mesh Control Planes",
- "entity_region": "eu",
- "parameters": {
- "zoneName": "zone3"
}
}
]
}Assigns a role to a managed system account. Returns 409 if role is already assigned.
| accountId required | string ID of the system account. |
The request schema for assigning a role.
| role_name | string The desired role. |
| entity_id | string <uuid> The ID of the entity. |
| entity_type_name | string The type of entity. |
| entity_region | string Enum: "us" "eu" "au" "me" "in" "*" The region to scope the role assignment to. |
| parameters | object |
{- "id": "eaf7adf1-32c8-4bbf-b960-d1f8456afe67",
- "role_name": "Connector",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Mesh Control Planes",
- "entity_region": "eu",
- "parameters": {
- "zoneName": "zone4"
}
}{- "id": "eaf7adf1-32c8-4bbf-b960-d1f8456afe67",
- "role_name": "Connector",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Mesh Control Planes",
- "entity_region": "eu",
- "parameters": {
- "zoneName": "zone4"
}
}Create a new organization with Auth0 authentication. The Auth0 user will be the organization owner.
| organization_name required | string |
| default_region required | string |
{- "organization_name": "string",
- "default_region": "string"
}{- "organization_id": "string",
- "login_path": "string"
}Retrieves the list of organizations available to the given user.
{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}, - "data": [
- {
- "name": "IDM - Developers",
- "login_path": "/v2/authenticate/federated?org_id=7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
}
]
}