Patch Task
public
Patch Task
Update an empty task. Currently supports moving the task into a different project, which:
- verifies the task has zero user messages (otherwise the move is rejected — a task with a conversation is bound to its project),
- verifies the caller can access the destination project,
- flips
task.project_id+ clears project-bound state (selected_branches, github_branch, active_odoo_credential_ids, machine_url/agent_secret) so the next pod claim starts clean, - tears down the existing pod (if any) so the operator’s pool reclaims its slot — the task page’s existing ensure-pod call on the next render will reprovision against the new project’s image + repos.
PATCH
Patch Task
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Successful Response
Available options:
plan, build Available options:
ready, pending, error