createApiKey(input: CreateApiKeyInput!): CreateApiKeyPayload!
Arguments
Input fields
input
Response
Returns CreateApiKeyPayload!. Open the type for its fields and nested types.
All fields of CreateApiKeyPayload.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation CreateAPIKey($input: CreateApiKeyInput!) {
createApiKey(input: $input) {
id
projectId
name
createdAt
expiresAt
}
}{
"input": {
"projectReference": "00000000-0000-4000-8000-000000000001",
"name": "example"
}
}