setMyPhoneNumber
Sets the signed-in user's phone number, or removes it with null. A new number is not confirmed until the person calls the support line with a code from startMyPhoneNumberConfirmation. Only a confirmed number lets the support line recognise the person; it grants nothing on the account.
Arguments
phoneStringThe number; a number starting with a single 0 is read as a Swiss number. Null or empty removes it.
Returns
User!Example
mutation SetMyPhoneNumber($phone: String) {
setMyPhoneNumber(phone: $phone) {
color
createdAt
email
emailVerified
firstName
id
image
isAdmin
}
}