Move a task of the Setup
Move one task of the company’s Setup, as the admin does on the Setup page, and return the Setup as getCompanySetup does: DONE marks it done, SKIPPED skips it, TODO restores it, IN_PROGRESS starts it. Give the task’s key and, for a task repeated per item (one Connect per HRIS, Zero-Touch per item), its item, both as getCompanySetup lists them. The move counts as the admin’s own. A task done, or one Primo AI is working on, is refused with 409; a task the Setup does not hold with 404. To tick the tasks whose « Done when » an action just made true, use checkSetupTasks instead. Only accessible with a Company API key.
Authorizations
Body
Response
When the Setup ended; null while a task is open
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$