Skip to main content

SetParentCertificateStatus

The setParentCertificateStatus API is used to set whether the parent agrees to the authentication.

Request Parameter

ParameterTypeDescription
parentCertificateStatusnumber-1: Refuse
0: Not set
1: Consent

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success
!=0: Request failure, see msg for detailed return message
msgstringReturn message

Request Sample

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

Response Sample

{
msg: "success",
ret: 0
}