Delete all WBS Children
delete
/api/restapi/wbs/children/{wbsId}
Send a request to this endpoint to delete all children in the WBS hierarchy of a WBS with an ID value that matches the value of the {wbsId} path parameter. Additional options are available to handle activities and tasks associated to the children in the WBS hierarchy being deleted.
Request
Path Parameters
-
wbsId(required): integer(int64)
The system-generated identifier of a parent object.
Query Parameters
-
handleAssociatedObjects: string
The options for handling associated objects, activities and tasks, on WBS deletion.
REASSIGN must be passed to reassign objects in hierarchy to a target WBS.
DELETE must be passed to delete objects associated to the hierarchy.
DELETE_ONLY_ACTIVITIES must be passed to delete activities and reassign tasks to the respective parent WBS associated to the hierarchy.Allowed Values:[ "REASSIGN", "DELETE", "DELETE_ONLY_ACTIVITIES" ]
-
targetWBSId: integer(int64)
The identifier for the target WBS to which associated objects will be assigned. Target WBS ID is only required when the WBS delete option is set to REASSIGN.# CONSTRAINT
There's no request body for this operation.
Back to TopResponse
204 Response
Successful operation with no content.
404 Response
Invalid input for the WBS service.