List all identities for a principal
Changed onRetrieves a paginated list of all identities associated with the specified principal.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
ID of the directory
Unique identifier of the principal (UUID format)
Query parameters
The number of items included per page.
Cursor param specifying the page (i.e. the next page) of data returned.
Cursor param specifying the page (i.e. the previous page) of data returned.
Determines which page of the collection to retrieve.
{
"size": 10,
"after": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ",
"before": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ"
}The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').
Sorts a collection of identities. Supported sort attributes are:
- created_at
- updated_at
- type
Filter using one of the following operators: eq, oeq
Filter identities by field. Supported filter field:
- type: exact match on identity type. Accepted values: oidc, consumer, custom, auth_server_client.
Example: filter[type]="oidc"
Response
List of principal identities
Pagination metadata.
Example response
{
"meta": {
"page": {
"size": 10
}
},
"data": [
{
"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
typeresponse property const valueauth_server_clientwas added for the status - info
the
typeresponse property const valuecontrol_plane_consumerwas added for the status - info
the
typeresponse property const valuecustomwas added for the status
5 more changes in this revision
- info