Jobs
POST /jobs/{jobId}/archive
Changed onArchives a job, including a draft. Requires ARCHIVE_JOB. Clears hold and pending-archive flags, removes past and future schedule entries, and records an audit log. Already archived jobs succeed without further changes. No request body is required.
Request
- Base URLhttps://api.fergus.com
- Auth
- OAuth 2Authorization codehttps://auth.fergus.com/oauth2/authorizeToken URLhttps://auth.fergus.com/oauth2/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
jobIdnumber required
Response
Job archived
Changes
- info
endpoint added
- info