Skip to main content

SetEUAgreeStatus

The setEUAgreeStatus is used to set whether players in the EU region consent to transfer their user data to non-EU regions.

Request Parameter

ParameterTypeDescriptionRemark
euUserAgreeStatusnumberWhether EU players consent to transfer their user data to non-EU regions
-1: Reject
0: Not set
1: Consent

Request Sample

complianceApi.setEUAgreeStatus(
{
euUserAgreeStatus: -1,
},
(res) => {
console.log(res);
}
);

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related returned field information.
!=0: Request failure, check msg for the detailed return message.
msgstringReturn message

Response Sample

{
msg: "success",
ret: 0,
seq: "1636537938-1006943754-007094-0000353023",
}