Skip to main content

updateOrgToken

Updates an org token's metadata (label, expiry, active flag). Requires the 'manage_tokens' permission on the token's org (super admins bypass). Does not rotate the secret value.

updateOrgToken(
orgTokenId: BigInt!
input: UpdateOrgTokenInput!
): OrgToken!

Arguments

updateOrgToken.orgTokenId ● BigInt! non-null scalar

Org token id (BigInt as string).

updateOrgToken.input ● UpdateOrgTokenInput! non-null input

Type

OrgToken object