APIKeyCreateV5

Create a scoped API key. name and a non-empty permissions array are required; unknown fields are rejected.

  • 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.

  • Whether a supplied key remains readable on subsequent requests. Requires key; generated keys are returned only once.

  • 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.

  • Optional supplied key in the valid v5 format for this environment. If omitted, Koard generates a key and returns its plaintext only on creation.