Reject a pending contract
Jobs > Contracts
POST reject pending contract
Endpoint
POST /api/v1/jobs/:job_id/contracts/:id/reject
Request
Route
POST /api/v1/jobs/40/contracts/54/reject
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzYsImV4cCI6MTc2MzU0MjQzNiwianRpIjoiMjA1YWZiODgtNWVlOS00MTJlLWIyNzItMTYzNWY2NDkwN2Q5In0.Xuy0d0YKzV5qqg8YKQcOq4iUImjaP6sCOiGBe1R2Xiw
Host: example.org
Cookie:
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"0ec9d5e7ca60fa14ae867f726029b0a1"
cache-control: max-age=0, private, must-revalidate
x-request-id: 3f665207-3017-4c13-9589-2f37cd938e1c
x-runtime: 0.027947
content-length: 174
Body
{
"contract": {
"id": 54,
"days_to_expire": 31,
"end_date": "2025-11-20",
"job_driver_id": 58,
"policy_schema": {
"markable_as_ended": false
},
"start_date": "2025-10-19",
"state": "rejected"
}
}