Download OpenAPI specification:Download
The management API for Kong Konnect Identity resources.
The response contains user ids and (non-deleted, non-deleting) organization ids for users associated with provided auth0 user subject.
| aid | string Auth0 User ID |
{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}
}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"
}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"
]
}
]
}Updates the current user's organization. When updating the owner, the new owner must be an organization admin.
The request schema to update an organization.
| owner_id | string <uuid> The user id of the new owner of the organization. Must be a member of the Organization Admins 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. Returns 400 if any filter parameters are invalid.
| 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"
}
}Issues new tokens. Returns 401 if a) the user is no longer active, b) the token has exceeded its lifetime limit, or c) the token has been revoked.
{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:952172606039454040",
- "detail": "A valid token is required"
}This call the aws marketplace resolve customer api.
AWS Marketplace Metering Resolve Customer request.
| token required | string Token is the aws customer token from the aws marketplace. |
{- "token": "A1B2C3D4E5F6G7H8I9J0K+LMNOPQRSTUVWXYZabcd+efghijklmnopqrstuv+wxyz0123456789+"
}{- "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6"
}This endpoint provides the machine client a means of being notified when a request for authorization is granted or rejected. It is expected for the client to try the access token request repeatedly in a polling fashion based on the error code in the response. See https://www.rfc-editor.org/rfc/rfc8628#section-3.4 for details.
The request schema for the device access token request.
| grant_type required | string Value MUST be set to "urn:ietf:params:oauth:grant-type:device_code". |
| device_code required | string The device verification code, "device_code" from the device authorization response. |
| client_id required | string The client identifier. |
{- "access_token": "2YotnFZFEjr1zCsicMWpAA",
- "token_type": "Bearer",
- "expires_in": 3600,
- "refresh_token": "tGzv3JOkF0XG5Qx2TlKWIA",
- "scope": "read write"
}Confirms the authorization request by marking the device code as confirmed.
The request schema for the device confirmation request.
| user_code required | string The end-user device verification code. |
{- "user_code": "string"
}{- "status": 400,
- "title": "Bad Request",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}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"
}
]
}