Issue API Key
POST/v2alpha1/admin/issuedApiKeys
Creates a new API key for a given actor. The secret is returned only once in the response and cannot be retrieved later. Keys can be scoped with specific permissions and have optional expiration.
POST /v2alpha1/admin/issuedApiKeys
{
"name": "production-service",
"actor_id": "user_123",
"scopes": ["read", "write"],
"ttl": "8760h"
}
Request
Responses
- 200
- 201
- default
A successful response.
API key issued successfully.
An unexpected error response.