Projects
update_project
Update project group ยท Changes data
Rename the group or replace project-label assignments across all its marketplaces.
- Omitted fields stay unchanged.
- Removing any assignment returns a plan for the complete mixed change without mutation; show exact effects and wait for explicit confirmation before
execute_removal. project_ididentifies a marketplace project, not its group.
Cost and limits: Pure additions, renames and no-op updates commit immediately and cost 5 credits.
Input
| Name | Type | Required | Description |
|---|---|---|---|
project_id | integer | Required | A marketplace project ID: list_projects data.projects[].marketplaces[].project_id, not a project group. Minimum 1. Maximum 2147483647. |
project_name | string | Optional | Project-group name. Surrounding ASCII whitespace is trimmed; matching names join the existing group. Maximum length 10000. |
label_ids | integer[] | Optional | Replacement project-label IDs for every marketplace in the group. Omit to retain assignments. At most 1000 items. |
Output
Read this object from the result's structuredContent. The result's content carries a text version for the model, which is not always the same JSON.
The result is one of 2 shapes.
Variant 1
Fields of data:
| Name | Type | Required | Description |
|---|---|---|---|
plan_reference | string | Required | Pattern ^[A-Za-z0-9_-]{43}$. |
operation | string | Required | |
expires_at | string (date-time) | Required | |
targets | object[] | Required | |
consequences | object[] | Required | |
instructions | string | Required |
Variant 2
Fields of data:
| Name | Type | Required |
|---|---|---|
operation | "update_project" | Required |
committed | true | Required |
recovered | boolean | Required |
outcome | object | Required |
data.outcome
| Name | Type | Required |
|---|---|---|
project | ProjectSummary | Required |
Full input and output JSON Schema
Code