Skip to main content

CreateServiceAccountInput

Create a new service account for programmatic API access. Issues a default access token alongside the service account; the raw token value is returned once and cannot be retrieved later.

input CreateServiceAccountInput {
defaultAccessTokenExpirationInMinutes: Int!
description: String
name: String!
}

Fields

CreateServiceAccountInput.defaultAccessTokenExpirationInMinutes ● Int! non-null scalar {#default-access-token-expiration-in-minutes}

How long the default access token issued alongside the service account remains valid, in minutes. The raw token value is returned once on creation and cannot be retrieved again. Capped at 5,256,000 minutes (10 years) by the service-account expiry policy.

CreateServiceAccountInput.description ● String scalar {#description}

What this service account is used for

CreateServiceAccountInput.name ● String! non-null scalar {#name}

A human-readable name for the service account

Member Of

createServiceAccount mutation