ShopUnpublish Job Booking

Unpublish Job Booking

Take a live job booking offline before its run time is over — for instance when the position has been filled. The booking moves to status unpublished; the purchase is not refunded and the booking cannot be published again.

curl -X PATCH "https://api.getkini.com/job_bookings/1/unpublish/" \
  -H "Content-Type: application/json" \
  -H "Company-Id: 1" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "detail": "success"
}
PATCH
/job_bookings/{id}/unpublish/
PATCH
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Authenticate every request with an API key from the Kini Partner App, sent as Authorization: Bearer <your_api_key>.

Authenticate every request with an API key from the Kini Partner App, sent as Authorization: Bearer <your_api_key>.
path
idinteger
Required

Kini ID of the job booking

header
Company-Idinteger
Required

Kini ID of the company the key is associated with

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Authenticate every request with an API key from the Kini Partner App, sent as Authorization: Bearer \<your_api_key\>.

Path Parameters

idinteger
Required

Kini ID of the job booking

Example:
1

Headers

Company-Idinteger
Required

Kini ID of the company the key is associated with

Example:
1

Responses

detailstring

Result of the unpublish request