SetParentCertificateStatus
The setParentCertificateStatus
API is used to set whether the parent agrees to the authentication.
Request Parameter
Parameter | Type | Description |
---|---|---|
parentCertificateStatus | number | -1: Refuse 0: Not set 1: Consent |
Response Parameter
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success !=0: Request failure, see msg for detailed return message |
msg | string | Return message |
Request Sample
complianceApi.setParentCertificateStatus(
{
parentCertificateStatus: -1,
},
(res) => {
console.log(res);
}
);
Response Sample
{
msg: "success",
ret: 0
}