Skip to main content

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

Header Parameters

    Wethod-Company stringrequired

    The company you want to interact with

    Wethod-Version stringrequired

    The API version you want to use

Body

    type stringrequired

    Possible values: [area, task, subtask]

    The type of project plan entity to enable/disable

    id integerrequired

    The ID of the project plan entity to enable/disable

    enabled booleanrequired

    Whether the entity should be enabled. Cascades across the area/task/subtask hierarchy.

Responses

Returns the full owning area tree (area → tasks → subtasks) after the enabled cascade.

Schema

    object

Loading...