Job Postings
Update a draft job posting
Update a draft job posting
Required scopes: job_postings:write
Archived postings reject updates with HTTP 409 posting_archived.
Example (curl):
curl -X PATCH https://api.yardstick.team/v1/job_postings/jp_abc123 \
-H 'Authorization: Bearer ys_sk_live_…' \
-H 'Content-Type: application/json' \
-d '{"location":"Remote","location_type":"remote"}'
Example (TypeScript):
await fetch("https://api.yardstick.team/v1/job_postings/jp_abc123", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.YS_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ location: "Remote", location_type: "remote" }),
});
patch/v1/job_postings/{job_posting_id}
Request
- Base URL: https://api.yardstick.team
- URL: https://api.yardstick.team/v1/job_postings/{job_posting_id}
- Auth: HTTP bearer
Path parameters
job_posting_idstring required
Headers
Idempotency-Keystring
Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
X-Request-Idstring
Optional caller-supplied request identifier. Values must match ^[A-Za-z0-9_-]{1,128}$; a valid value is echoed in the response X-Request-Id header, otherwise the API generates one.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.