magicTokenUpdate
Update an existing magic token's properties.
Allows modification of magic token settings such as expiration time, one-time use flag, and additional metadata. Cannot change the associated contact or customer.
Possible errors:
- MAGIC_TOKEN_NOT_FOUND_ERROR: Magic token with the specified ID does not exist
- MAGIC_TOKEN_UPDATE_ERROR: Failed to update the magic token
AUTH: Role=[configuration.OWNER,configuration.EDITOR]
magicTokenUpdate(
id: String!
input: MagicTokenUpdateInput!
): MagicToken!
Arguments
magicTokenUpdate.id
● String!
non-null scalar
Unique identifier of the magic token to update.
Must be a valid UUID format.
magicTokenUpdate.input
● MagicTokenUpdateInput!
non-null input
Updated magic token properties.
Only provided fields will be updated, others remain unchanged.
Type
MagicToken
object
Magic token for passwordless authentication.
Magic tokens provide a secure way to authenticate users without requiring passwords. They can be associated with either contacts or customers and support configurable expiration and usage limits.