De-Assign Test from Candidate

De-Assign Test from Candidate

POSTDe-Assign Test from Candidate

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.

Header
ak:{{API Key}} sgn:{{sgn}} ts:{{ts}}
URL
Copy
{{API Endpoint}}/api/v1/deassignTest
Body
Copy
{ "email": "{Candidate Email ID}", "testId": "{Test Id}" }
Response
Case 1 : When Success
Success
{ "result": "success", "success": { "code": "200", "msg": "Test successfully deassigned from the candidate" } }
Case 2 : When Details is missing
Error
{ "result": "error", "error": { "code": "3095", "msg": "{Field name} is required." } }