Arguments
editEmailRequestSchemaInput
EditEmailRequestSchemaInputDescribes the request structure to update the email.
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 setEmailAsPrimary(2 $editEmailRequestSchemaInput: EditEmailRequestSchemaInput3) {4 setEmailAsPrimary(editEmailRequestSchemaInput: $editEmailRequestSchemaInput) {5 register_token6 request_id7 user {8 id9 account_type10 active11 application_id12 created_at13 dob14 first_name15 gender16 last_name17 meta18 profile_pic_url19 updated_at20 user_id21 username22 external_id23 rr_id24 }25 }26}
Try it
Input Variables
1{2 "editEmailRequestSchemaInput": {3 "email": "[email protected]"4 }5}
Response
1{2 "setEmailAsPrimary": {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?