Create an API key
everyinfra_key_createCreate a new API key on this account and return it once. The new key can never be broader than the key making the call: same or fewer capabilities, the same source-IP limit, no later expiry, no higher per-minute limit, only account read scopes this key has, and never any write scope. At most 20 keys per account per UTC day this way. Needs the keys:write account scope, which is off by default and can only be granted by the account owner in the console.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| note | No | ||
| ip_allow | No | ||
| expires_at | No | ISO 8601 date-time | |
| scope_mode | No | Omit to copy this key's own capability scope | |
| scope_rules | No | Required with scope_mode=selected | |
| account_scopes | No |