update_activity¶
Update an existing activity (project) in EARLY.
Summary¶
The update_activity tool allows you to modify an existing activity, such as changing its name, description, or status.
Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
activityId | string | Required | The ID of the activity to update. |
name | string | Optional | New name for the activity. |
description | string | Optional | New description for the activity. |
color | string | Optional | New color code. |
isActive | boolean | Optional | Set active/inactive status. |
clientId | string | Optional | New client ID. |
billable | boolean | Optional | New billable status. |
Behavior¶
- Validation: Checks if
activityIdis provided and at least one field to update. - API Call: Sends a PUT/PATCH request to update the activity.
- Response: Returns the updated activity details.
Examples¶
Rename Activity¶
Response: