Change a job this partner created
Changes the members the body names and leaves the others as they are; null clears a member that may be empty. 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. Moving a job onto active stamps a new posted_at, which announces it to the pilots’ alerts; an edit of a live job does not. Making a closed job active reopens it, with 30 more days unless expires_at says otherwise. 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 65536 bytes. At least one member. Unknown or repeated members are rejected, and client_ref is a create's.
The members a partner may set. Each is optional here; a create requires its own.
Surrounding whitespace is trimmed.
1captain, 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 onsite, hybrid, remote, null x >= 0x >= 0x >= 0x >= 0x >= 0License codes, such as ATP or CPL.
1FAA type rating designators, such as CE-680.
1At least salary_min.
annual, hourly, per_diem, daily_rate, monthly, fixed, null ^[A-Z]{3}$An absolute http or https URL.
RFC 3339. 30 days from the create unless it says otherwise.
draft, active 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.

