CreateApiKeyInput
A new API key for the workspace the calling key targets: a workspace key’s own, or the one in the X-Paradime-Workspace header. It gets no more than the calling key has: only capability groups the calling key holds, and no later expiry.
input
CreateApiKeyInputFields
name
String!
required
The key's name, unique among the workspace's working API keys.
capabilityGroups
required
What the key may do. Each group must be one the calling key holds.
expiresAt
When the key stops working. Required when the calling key expires, and no later than it; leave it out for a key that never expires.