KongPrincipalIdentity

Retrieves detailed information about a specific principal identity by its ID.

get/v2/directories/{directoryId}/principals/{principalId}/identities/{identityId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

directoryId, string uuid required

ID of the directory

principalId, string uuid required

Unique identifier of the principal (UUID format)

identityId, string uuid required

Unique identifier of the principal identity (UUID format)

Response

A principal identity

union required
KongPrincipalIdentityOIDCResponse required
OR
KongPrincipalIdentityAuthServerClientResponse required
OR
KongPrincipalIdentityCPConsumerResponse required
OR
KongPrincipalIdentityCustomResponse required

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

      the type response property const value auth_server_client was added for the status

    • info

      the type response property const value control_plane_consumer was added for the status

    • info

      the type response property const value custom was added for the status

    5 more changes in this revision