updateAccount
Overview
This mutation updates the currently logged-in account's displayName and redirectUrl fields.
Special Considerations
None.
Inputs
UpdateAccountArgs
Data
displayName(optional): string redirectUrl(optional): string
Returns
Promise<SuccessResult>
A promise containing a success message.
Example
Running this mutation:
mutation {
updateAccount (data: {
displayName: "lydia.g.you"
redirectUrl: "https://getborderless.com"
}) {
message
}
}
Gives us:
{
"data": {
"updateAccount": {
"message": "Account updated sucessfully!"
}
}
}
Common Errors
N/A