Issue a service-account API key.
Issue an API key for a service account. The key is owned by the account, inherits its grants, and records the admin who created it. The full token (key_id.secret) is returned once and cannot be retrieved again. The name must be unique among the account’s keys, and expires_in_days is optional — the key expires that many days from creation; it defaults to 90 and must be between 30 and 730. Sending expires_at returns 400. A key may be created on a disabled account: it is minted active and does not authenticate until the account is enabled (account status gates authentication, not key management). Disabled and expired keys count toward the key limit; only revoking a key frees a slot. Rotating a key means creating its replacement before revoking the old one, so an account at the limit must first revoke an unused key or have its limit raised. Returns 404 if the account is not in the caller’s organization and 409 if the name is taken, the key limit is reached, or the account is managed by Fiddler for a model deployment.
Authorizations
Body
Body to issue a service-account API key. Unknown fields (including expires_at) return a 400.
Response
Key created. The token field holds the full key_id.secret — the only time the secret is available.