Delete a WBS
delete
/api/restapi/wbs/{wbsId}
Send a request to this endpoint to delete a WBS. The application object with an ID value that matches the value of the {wbsId} path parameter will be deleted. Additional options are available to handle activities and tasks associated to the WBS being deleted.
Request
Path Parameters
-
wbsId(required): integer(int64)
The system-generated identifier of a WBS.
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.