CreateCompanyApiKeyInput
A new company API key. It gets no more than the calling key has: only capability groups the calling key holds, only workspaces it can reach, and no later expiry.
input
CreateCompanyApiKeyInputFields
name
String!
required
The key's name, unique among the company's active company API keys.
capabilityGroups
required
What the key may do. Each group must be one the calling key holds.
workspaceUids
[String!]!
required
The uids of the workspaces the key can reach. Each must be one the calling key can reach.
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.