Skip to main content

RestApiKeyCreateInput

Input for creating a new REST API key

input RestApiKeyCreateInput {
name: String!
active: Boolean! = true
retrievableOnCreationOnly: Boolean! = false
}

Fields

RestApiKeyCreateInput.name ● String! non-null scalar

Name for the API key

RestApiKeyCreateInput.active ● Boolean! non-null scalar

Whether the API key is active

RestApiKeyCreateInput.retrievableOnCreationOnly ● Boolean! non-null scalar

If true, the client secret is returned only in this creation response and can never be retrieved again. Cannot be changed after creation.

Member Of

restApiKeyCreate mutation