Magidoc

ApiKeyCreateInput
Input Object

Fields

#

expiresIn

Optional expiration time in seconds. If not set, the key doesn't expire.

name

Non-null

A descriptive name for the API key (e.g., 'BTCPayServer Integration')

rateLimitPerMinute

Optional per-key request rate limit (requests per minute, 1-10000). If not set, the platform default applies.

scopes

Permission scopes for the key. Defaults to read-only user access.

Default: [ "read_user" ]

Usages

#

References

#

  • Argument input of field apiKeyCreate from type Mutation