This API will be used to de-assign tests from candidates.
Pass ak, sgn, and ts as headers, and all three parameters will be received using the Signature Generation API.
Headerak:{{API Key}} sgn:{{sgn}} ts:{{ts}}
URLCopy{{API Endpoint}}/api/v1/deassignTest
BodyCopy {
"email": "{Candidate Email ID}",
"testId": "{Test Id}"
}
Case 1 : When SuccessSuccess {
"result": "success",
"success": {
"code": "200",
"msg": "Test successfully deassigned from the candidate"
}
}
Case 2 : When Details is missingError {
"result": "error",
"error": {
"code": "3095",
"msg": "{Field name} is required."
}
}