Skip to main content

UserTokenCreationInput

No description

input UserTokenCreationInput {
description: String!
expiresAt: DateTime
namespaceIds: [ID!]!
permissions: [Permission!]!
userId: ID
}

Fields​

UserTokenCreationInput.description ● String! non-null scalar​

A description of the token's intended use.

UserTokenCreationInput.expiresAt ● DateTime scalar​

Expiration time of the token, if any.

UserTokenCreationInput.namespaceIds ● [ID!]! non-null scalar​

The identifiers of the namespaces this token grants access to.

UserTokenCreationInput.permissions ● [Permission!]! non-null scalar​

The permissions this token grants.

UserTokenCreationInput.userId ● ID scalar​

The ID of the user to whom the new token will belong. If null, it will assume the current user.

Member Of​

createUserToken mutation