Delete Goal
Delete a goal. Child goals move up to the deleted goal's parent, and tasks linked to it are unlinked (`goal_id` becomes null); the tasks themselves are kept. Publishes `goal.deleted`.
Delete a goal.
Child goals move up to the deleted goal's parent, and tasks linked to it are
unlinked (goal_id becomes null); the tasks themselves are kept. Publishes
goal.deleted.
HTTPBearerAuthorizationBearer <token>goal_id*Goal Iduuidcompany_id*Company IduuidSuccessful Response
curl -X DELETE "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/goals/497f6eca-6276-4993-bfeb-53cbbbba6f08"Update Goal PATCH
Update a goal; only fields present in the body are changed. A new `parent_id` must be a goal in this company and must not nest the goal under itself or one of its descendants (400 `GOAL_CYCLE`). Publishes `goal.updated` when something changed.
List Company Projects GET
List the company's projects, oldest first, with task counts and spend. `tasks_total` excludes `cancelled` tasks; `tasks_done` counts `done` tasks. `spend_mtd_cents` is the cost of runs on the project's tasks since the first of the current UTC month, in integer cents.