List vault credentials for a principal
Changed onReturns a paginated list of token-vault credentials that the principal has obtained by authorizing providers.
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 vault credentials. Supported sort attributes are:
- created_at
- updated_at
Response
List of credentials held by a principal
Pagination metadata.
Example response
{
"meta": {
"page": {
"size": 10
}
},
"data": [
{
"template_name": "github",
"status": "active",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Changes
- info
endpoint added
- info