Mutations
createApiKey
Create an API key for a machine user. The plaintext secret is returned only once in apiKeySecret and cannot be retrieved again — store it immediately. You can only grant permissions that you yourself hold; attempting to escalate privileges returns an error. Requires the apiKey:create permission.
MUTATION
createApiKey(input: CreateApiKeyInput!): CreateApiKeyOutput!Arguments
input
required
Returns
apiKey
apiKeySecret
String
The plaintext API key secret (format: plainApiKey_…). This value is only returned once at creation time and cannot be retrieved later — store it securely immediately.
error
Mutation
Variables
Response
Mutation
Variables
Response

