api-key-controller
Get User Api Keys (getUserApiKeys)
Returns a page of api keys owned by user. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details.
Available for any authorized user.
get/api/apiKeys/{userId}
Path parameters
userIdstring required
A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Query parameters
pageSizeinteger required
Maximum amount of entities in a one page
pageinteger required
Sequence number of page starting from 0
textSearchstring
The case insensitive 'substring' filter based on the description.
sortProperty'createdTime' | 'expirationTime' | 'description' | 'enabled'
Property of entity to sort by
sortOrder'ASC' | 'DESC'
Sort order. ASC (ASCENDING) or DESC (DESCENDING)
Response
OK
Example response
{
"data": [
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "API_KEY"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"userId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "USER"
},
"description": "API Key description",
"enabled": true
}
]
}