Skip to content

Delete a work item type ​

DELETE/api/v2/workspaces/{slug}/projects/{project_id}/work-item-types/{pk}/

Remove a work item type from a project. A successful delete returns 204 with an empty body.

Deletion is guarded. A type that is the project default, or that still has work items on it, is rejected with 409 conflict rather than cascading — the API will not silently untype existing work.

If your goal is to stop people picking a type, set is_active to false instead. That works regardless of how many work items already use the type, and it is reversible.

This write requires project mode

If the workspace manages types at the workspace level, this returns 409 work_item_types_managed_at_workspace. Delete the type on the workspace surface instead. See Work item type modes.

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 (uuid)

The project the type belongs to.

pk:requiredstring (uuid)

The id of the work item type to delete.

Response shaping ​

fields:optionalstring

Comma-separated list of fields to return. Unrequested keys are omitted from the response, not returned as null, so absent means "not requested" and null means "actually null". id always comes back whether or not you name it.

Pass all for every requestable field. An unknown name is a 400 that lists the valid set and suggests the closest match, so a typo can't silently cost you the saving.

Requestable here: created_at, description, id, is_active, is_default, is_epic, level, logo_props, name.

See Sparse fields.

Scopes ​

projects.work_item_types:write

Errors ​

StatusCodeCause
400invalid_requestThe request could not be processed as sent.
401unauthorizedMissing or invalid credentials.
402payment_requiredThe feature this endpoint belongs to isn't enabled on your plan, or is switched off.
403forbiddenYour role or token scope can't delete work item types.
404not_foundNo such type, project, or workspace — or the type belongs to another project.
406not_acceptableThe Accept header asks for a representation the API can't produce.
409conflictThe type is the project default, or work items still use it.
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 type
bash
curl -X DELETE \
  "https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/work-item-types/d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240/" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response204
text
(empty body)
Response409
json
{
  "type": "conflict",
  "code": "conflict",
  "detail": "A work item type with existing work items cannot be deleted."
}

Before a delete will succeed ​

Work through these in order:

  1. It must not be the default. Promote another type with mark-default. Marking a new default clears the flag on this one in the same request.
  2. No work items may reference it. Move them to another type, or delete them. There is no force flag — the check is the point.

Both failures come back as 409 conflict, distinguished by the detail string. Branch on the status and code; treat detail as text for humans.

Two 409s, two different meanings

conflict means the type is protected or in use — a state you can fix. work_item_types_managed_at_workspace means you called the wrong surface — a routing mistake, fixed by calling the workspace endpoint instead. Always read the code, never just the status.