Close a job this partner created
Archives a job this partner created: it leaves the search and its page at once. Closing a closed job changes nothing and answers 200 again. A job this partner did not create, or whose company is no longer the one it is bound to, is the 404 of a row that does not exist. Closing does not give back the allowance. The token must carry jobs.write, otherwise 403 scope_missing; a partner that lost its binding is 403 partner_not_bound.
Authorizations
OAuth 2.0 client credentials. Request a token from the token endpoint of the identity provider's domain (https://{cognito-domain}/oauth2/token, with HTTP Basic client authentication) and send it as a Bearer token. Production uses auth.mypilotindex.com. The sandbox uses the dev environment's Cognito domain, which is given to the partner with its sandbox credential. A token carries only the scopes the partner was approved for.
Path Parameters
Body
Maximum 4096 bytes. None, or an empty JSON object.
The body is of type object.
Response
The job as it now stands.
A job. Nothing of who posted it, how it was reviewed or who applied travels with it.
Who the job is for. A job a member shared may name no company of the catalog; id and logo_url are then null.
captain, first_officer, check_airman, instructor, management, other, program full_time, part_time, contract, temporary, seasonal part_121, part_135, part_91, part_91k, military, government, other annual, hourly, per_diem, daily_rate, monthly, fixed, null ^[A-Z]{3}$The job's public page on MyPilotIndex.

