Skip to main content

UserTokenCreationInput

No description

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

Fields

UserTokenCreationInput.userId ● ID scalar

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

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.permissions ● [Permission!]! non-null scalar

The permissions this token grants.

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

The identifiers of the namespaces this token grants access to.

Member of

createUserToken mutation