APIKeyCreateV5
Create a scoped API key. name and a non-empty permissions array are required; unknown fields are rejected.
- nameType: stringrequired
- permissionsType: array of GrantablePermission 1… unique!enumrequired
- accountType: stringnullable
_id Optional target account. Omit or send null for your own account; supply a visible descendant account to create its key. Requires apikeys:create:sub for API-key callers targeting descendants.
- alwaysType: boolean
_retrievable Whether a supplied key remains readable on subsequent requests. Requires key; generated keys are returned only once.
- expiresType: stringFormat: date-timenullable
_at Optional expiry. Provide an ISO 8601 / RFC 3339 date-time, such as 2030-01-01T00:00:00Z. Omission or null applies an expiry 100 years from creation. The key cannot authenticate after expiry.
- keyType: stringnullable
Optional supplied key in the valid v5 format for this environment. If omitted, Koard generates a key and returns its plaintext only on creation.

