cli/resources/admin/index.md +32 −2
13131 13131
13132 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.13132 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
13133 13133
13134- `--owner-project-access: optional "active" or "inactive" or "any"`
13135
13136 Filter API keys by whether the owner currently has effective access to the project. Use `active` for owners with access, `inactive` for owners without access, or `any` for all enabled project API keys. If omitted, the endpoint applies its existing membership-based visibility rules, which may exclude some enabled keys.
13137
13134### Returns13138### Returns
13135 13139
13136- `ProjectApiKeyListResponse: object { data, has_more, object, 2 more }`13140- `ProjectApiKeyListResponse: object { data, has_more, object, 2 more }`
13211 13215
13212 The user's project role.13216 The user's project role.
13213 13217
13218 - `owner_project_access: "active" or "inactive"`
13219
13220 Whether the API key's owner currently has effective access to the project.
13221
13222 - `"active"`
13223
13224 - `"inactive"`
13225
13214 - `redacted_value: string`13226 - `redacted_value: string`
13215 13227
13216 The redacted value of the API key13228 The redacted value of the API key
13258 "role": "role"13270 "role": "role"
13259 }13271 }
13260 },13272 },
13273 "owner_project_access": "active",
13261 "redacted_value": "redacted_value"13274 "redacted_value": "redacted_value"
13262 }13275 }
13263 ],13276 ],
13288 13301
13289### Returns13302### Returns
13290 13303
1329113304- `project_api_key: object { id, created_at, last_used_at, 4 more }`- `project_api_key: object { id, created_at, last_used_at, 5 more }`
13292 13305
13293 Represents an individual API key in a project.13306 Represents an individual API key in a project.
13294 13307
13366 13379
13367 The user's project role.13380 The user's project role.
13368 13381
13382 - `owner_project_access: "active" or "inactive"`
13383
13384 Whether the API key's owner currently has effective access to the project.
13385
13386 - `"active"`
13387
13388 - `"inactive"`
13389
13369 - `redacted_value: string`13390 - `redacted_value: string`
13370 13391
13371 The redacted value of the API key13392 The redacted value of the API key
13404 "role": "role"13425 "role": "role"
13405 }13426 }
13406 },13427 },
13428 "owner_project_access": "active",
13407 "redacted_value": "redacted_value"13429 "redacted_value": "redacted_value"
13408}13430}
13409```13431```
13462 13484
13463### Project API Key13485### Project API Key
13464 13486
1346513487- `project_api_key: object { id, created_at, last_used_at, 4 more }`- `project_api_key: object { id, created_at, last_used_at, 5 more }`
13466 13488
13467 Represents an individual API key in a project.13489 Represents an individual API key in a project.
13468 13490
13540 13562
13541 The user's project role.13563 The user's project role.
13542 13564
13565 - `owner_project_access: "active" or "inactive"`
13566
13567 Whether the API key's owner currently has effective access to the project.
13568
13569 - `"active"`
13570
13571 - `"inactive"`
13572
13543 - `redacted_value: string`13573 - `redacted_value: string`
13544 13574
13545 The redacted value of the API key13575 The redacted value of the API key