CreatePersonalAccessTokenInput
Create a scoped, time-limited personal access token for the authenticated account.
input CreatePersonalAccessTokenInput {
expiresInMinutes: Int
name: String!
scopes: [String!]!
}
Fields
CreatePersonalAccessTokenInput.expiresInMinutes ● Int scalar {#expires-in-minutes}
How many minutes until this token expires. Defaults to 60 (1 hour). Maximum 525,600 minutes (1 year).
CreatePersonalAccessTokenInput.name ● String! non-null scalar {#name}
A label to identify this token (e.g., 'Local CLI')
CreatePersonalAccessTokenInput.scopes ● [String!]! non-null scalar {#scopes}
Permission scopes. At least one required. Currently only ["*"] (full access) is supported.
Member Of
createPersonalAccessToken mutation