List all API keys for a group
Changed onRetrieves a paginated list of all API keys associated with the specified group. Results can be sorted by created_at, updated_at, or name.
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 group (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 group Keys. Supported sort attributes are:
- created_at
- updated_at
- name
Response
List Kong Principal Keys
Pagination metadata.
Example response
{
"meta": {
"page": {
"size": 10
}
},
"data": [
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"expires_at": "2022-11-04T20:10:06.927Z",
"managed_by": {
"owner": "terraform"
}
}
]
}Changes
- breaking
the
data/items/managed_by/additionalPropertiesresponse property's maxLength was increased from63to127for the response status - info
the
data/items/managed_by/additionalPropertiesresponse's property pattern was changed from^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$to^[^\s\x00-\x1F\x7F-\x9F]+$for the status
- breaking
- info
endpoint added
- info