Skip to main content
Create an API key

Usage

Returns

Parameters

keyName

  • Type: string
Name for the API key

maxUses (Optional)

  • Type: number
Limit the number of uses a key is valid for

permissions

admin (Optional)

  • Type: boolean
Grants the key admin access to all endpoints

resources (Optional)

  • Type: ResourcePermission[]
Scope the API key by ResourcePermission

endpoints (Optional)