Skip to main content

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

A successful response.