mutation

deleteMobileNumber

Delete mobile number from profile.
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
String
ID 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
String
A token used for registration purposes.
request_id
String
A random uuid string used to track the send OTP response.
Describes the user details structure.
Mutation
1mutation deleteMobileNumber(
2 $active: Boolean!
3 $countryCode: String!
4 $phone: String!
5 $platform: String
6 $primary: Boolean!
7 $verified: Boolean!
8) {
9 deleteMobileNumber(
10 active: $active
11 countryCode: $countryCode
12 phone: $phone
13 platform: $platform
14 primary: $primary
15 verified: $verified
16 ) {
17 register_token
18 request_id
19 user {
20 id
21 account_type
22 active
23 application_id
24 created_at
25 dob
26 first_name
27 gender
28 last_name
29 meta
30 profile_pic_url
31 updated_at
32 user_id
33 username
34 external_id
35 rr_id
36 }
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": true
8}
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}