mutation

deleteEmail

Delete email from profile.
Arguments
active
Boolean!
Required
Boolean value to check if email id is active 1. True - email id is active 2.False - email id is inactive.
email
String!
Required
The email id to delete.
platform
String
ID of the application.
primary
Boolean!
Required
Boolean value to check if email id is primary (main email id) 1. True - email id is primary 2.False - email id is not primary.
verified
Boolean!
Required
Boolean value to check if email id is verified 1. True - email id is verified 2.False - email id 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 deleteEmail(
2 $active: Boolean!
3 $email: String!
4 $platform: String
5 $primary: Boolean!
6 $verified: Boolean!
7) {
8 deleteEmail(
9 active: $active
10 email: $email
11 platform: $platform
12 primary: $primary
13 verified: $verified
14 ) {
15 register_token
16 request_id
17 user {
18 id
19 account_type
20 active
21 application_id
22 created_at
23 dob
24 first_name
25 gender
26 last_name
27 meta
28 profile_pic_url
29 updated_at
30 user_id
31 username
32 external_id
33 rr_id
34 }
35 }
36}
Try it
Input Variables
1{
2 "active": true,
3 "email": "test-email@yourcompany.com",
4 "platform": "platform",
5 "primary": true,
6 "verified": true
7}
Response
1{
2 "deleteEmail": {
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}