Enable or disable a project plan area, task, or subtask
POST/api/project-plans:set-enabled
It applies the cascade rules across the area → task → subtask hierarchy. Returns the full owning area tree after the change.
Required permissions:
- project_plan.edit: allows updating project plan entities.
Cascade rules:
- Area: enable/disable cascades to all its tasks and subtasks.
- Task: disable cascades to its subtasks; enable also enables the parent area (siblings untouched).
- Subtask: enable also enables the parent task and area; disable leaves parents untouched.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 412
Returns the full owning area tree (area → tasks → subtasks) after the enabled cascade.
Validation failed
Unauthorized
Forbidden
Not found
Precondition failed