Skip to content

Delete a work item dependency ​

DELETE/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/dependencies/{related_work_item_id}/

Remove the dependency between the path work item and another work item. Name the other work item in the path. A dependency has no id of its own. A successful delete returns 204 with an empty body.

Two work items have at most one dependency, so there is nothing to choose: the call removes it whatever its type, and from either side. Deleting on ENG-17 with ENG-42's id removes the same dependency as deleting on ENG-42 with ENG-17's id.

You need edit access to the path work item. Project admins, contributors, and workspace owners and admins have it. Deleting a dependency adds an entry to the path work item's activity.

Path parameters ​

slug:requiredstring

The workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.

project_id:requiredstring

The project the resource belongs to. Accepts the project UUID or its bare identifier, for example ENG.

work_item_id:requiredstring

The work item the resource belongs to. Accepts the work item UUID or its PROJ-123 identifier.

related_work_item_id:requiredstring (uuid)

The UUID of the other work item in the dependency, not a dependency id. Only a UUID works here. A PROJ-123 identifier doesn't match the route and returns 404.

Scopes ​

projects.work_items.relations:write

Errors ​

StatusCodeCause
400invalid_requestThe request body or a query parameter failed validation.
401unauthorizedMissing or invalid credentials.
403forbiddenYou can't edit this work item, or your token scope doesn't allow this.
404not_foundNo such workspace, project, or work item, or related_work_item_id isn't a UUID.
404not_foundNo dependency links the two work items.
406not_acceptableThe Accept header asks for a representation the API can't produce.
409governance_migration_in_progressA governance migration is running in this workspace, so writes are paused. Retry after it finishes.
413payload_too_largeThe request body is over the size limit.
415unsupported_media_typeThe Content-Type isn't one this endpoint accepts.
429rate_limitedThrottled. Honor the Retry-After header before retrying.
Delete a work item dependency
bash
curl -X DELETE \
  "https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/work-items/8c3d1f72-4a9e-4b65-9d20-6e1f3b7a5c48/dependencies/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response204

No response body.