Skip to main content

UpdateOrgTokenInput

No description

input UpdateOrgTokenInput {
label: String
expiresAt: DateTime
isActive: Boolean
scopes: [String!]
appIds: [BigInt!]
}

Fields​

UpdateOrgTokenInput.label ● String scalar​

New label; omit to leave unchanged.

UpdateOrgTokenInput.expiresAt ● DateTime scalar​

New expiry timestamp; omit to leave unchanged.

UpdateOrgTokenInput.isActive ● Boolean scalar​

Set false to deactivate the token; omit to leave unchanged. Revoked tokens cannot be re-minted.

UpdateOrgTokenInput.scopes ● [String!] list scalar​

Replace the token's scopes ('players:mint', 'players:manage'); omit to leave unchanged.

UpdateOrgTokenInput.appIds ● [BigInt!] list scalar​

Replace the apps the token is limited to; an empty list means every app of the organization. Omit to leave unchanged.

Member Of​

updateOrgToken mutation