Arguments
active
Boolean!Required
This is a boolean value to check if mobile number is active 1.True - number is active 2. False - number is inactive.
countryCode
String!Required
Country code of the phone number, e.g. 91.
phone
String!Required
Phone number.
platform
StringID of the application.
primary
Boolean!Required
This is a boolean value to check if mobile number is primary number (main number) 1. True - number is primary 2. False - number is not primary.
verified
Boolean!Required
This is a boolean value to check if mobile number is verified 1. True - number is verified 2.False - number is not verified yet.
Response
register_token
StringA token used for registration purposes.
request_id
StringA random uuid string used to track the send OTP response.
user
UserDetailDescribes the user details structure.
Mutation
1mutation deleteMobileNumber(2 $active: Boolean!3 $countryCode: String!4 $phone: String!5 $platform: String6 $primary: Boolean!7 $verified: Boolean!8) {9 deleteMobileNumber(10 active: $active11 countryCode: $countryCode12 phone: $phone13 platform: $platform14 primary: $primary15 verified: $verified16 ) {17 register_token18 request_id19 user {20 id21 account_type22 active23 application_id24 created_at25 dob26 first_name27 gender28 last_name29 meta30 profile_pic_url31 updated_at32 user_id33 username34 external_id35 rr_id36 }37 }38}
Try it
Input Variables
1{2 "active": true,3 "countryCode": "countryCode",4 "phone": "1+ 418-323-4236",5 "platform": "platform",6 "primary": true,7 "verified": true8}
Response
1{2 "deleteMobileNumber": {3 "register_token": "register_token",4 "request_id": "request_id",5 "user": {6 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",7 "account_type": "account_type",8 "active": true,9 "application_id": "application_id",10 "created_at": "created_at",11 "dob": "dob",12 "first_name": "first_name",13 "gender": "gender",14 "last_name": "last_name",15 "meta": {},16 "profile_pic_url": "profile_pic_url",17 "updated_at": "updated_at",18 "user_id": "user_id",19 "username": "username",20 "external_id": "external_id",21 "rr_id": "rr_id"22 }23 }24}
Was this section helpful?