ListApiKeys
Performs a paging query for API keys.
Try it now
Test
RAM authorization
Request syntax
GET /pop/2026-05-09/api-keys HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| apiKeyName |
string |
No |
The name of the API key. |
dev |
| status |
string |
No |
The status. Valid values:
|
Success |
| pageNumber |
integer |
No |
The current page number. |
1 |
| pageSize |
integer |
No |
The number of teams displayed per page. |
20 |
| teamID |
string |
No |
The unique identifier of the team. |
70d1c834-0383-58d8-97ac-5336eb91abcd |
| resourceGroupID |
string |
No |
The ID of the resource group. |
rg-acfmwxqyrgwabcd |
| userID |
string |
No |
The UID of the creator. |
123456789 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
7ADFF8D8-D4BA-5F79-AD49-DDABFEA59B6C |
| code |
string |
The error code. |
200 |
| message |
string |
The response message. |
success |
| apiKeys |
array |
The list of API keys. |
|
| ApiKey |
API Key |
[{'description': u'clawops-api |
|
| pageNumber |
integer |
The page number. Pages start from 1. Default value: 1. |
1 |
| pageSize |
integer |
The number of API keys displayed per page. |
20 |
| total |
integer |
The total number of records. |
10 |
Examples
Success response
JSON format
{
"requestId": "7ADFF8D8-D4BA-5F79-AD49-DDABFEA59B6C",
"code": "200",
"message": "success",
"apiKeys": [
{
"apiKeyID": "34f6a4c4-499f-4bbd-baa0-0e699f53abcd",
"apiKeyValue": "e2b_xxxxxx79cd777ef8exxxxxx4ad6f1b567cxxxxxx",
"apiKeyMask": "e2b_xxxx****xxxx",
"apiKeyName": "dev",
"userID": "12345",
"username": "user1",
"createdTime": "2023-09-13T08:27:20Z",
"expireTime": "2023-10-13T08:27:20Z",
"lastUsedTime": "2023-09-14T08:27:20Z",
"teamID": "70d1c834-0383-58d8-97ac-5336eb91abcd",
"teamName": "Development team",
"resourceGroupID": "rg-acfmwxqyrgwabcd",
"status": "active",
"teamPlan": "Pro",
"source": "",
"ipWhitelist": [
{
"ipAddress": "203.0.113.10",
"description": "Fixed application egress"
}
],
"ipBlacklist": [
{
"ipAddress": "203.0.113.10",
"description": "Fixed application egress"
}
]
}
],
"pageNumber": 1,
"pageSize": 20,
"total": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.