Skip to content

Powered by Grav + Helios

List API Keys

List API Keys

GET /users/{username}/api-keys
List all API keys for a user. Key secrets are not returned.

Parameters

Name Type Description
username required string The username to list API keys for
JSON
{"data": [{"id": "abc123", "name": "CI Deploy Key", "scopes": [], "created": 1710000000}]}

Response Codes

200 Success
401 Unauthorized
403 Forbidden
404 User not found