Skip to Content
CapstoneDocs
Ashby

Cancel assessment

POST
/ats/ashby/assessment.cancel

Cancels an order. If the candidate has not opened their link, the invitation is withdrawn too.

Authorization

partnerKey
headerAuthorizationBasic <token>

An ATS partner key (capats_greenhouse_… or capats_ashby_…) as the Basic username, with an empty password. Issued once per customer connection and pasted into the ATS.

Request Body

application/json
  1. body
assessment_id*string
Formatuuid

Response Body

Cancelled (or already finished).

application/json
  1. response
success?boolean
results?
Example Request
curl -X POST 'https://api.usecapstone.com/v1/ats/ashby/assessment.cancel' \  -H 'Content-Type: application/json' \  -d '{  "assessment_id": "9f60a03f-b3de-4b19-9361-0380d9aa1e9e"}'
Example Response
{  "success": true,  "results": {    "assessment_id": "9f60a03f-b3de-4b19-9361-0380d9aa1e9e"  }}