Skip to content

Delete a workflow pin ​

DELETE/api/v2/workspaces/{slug}/work-item-types/{type_id}/governance/pins/{pk}/

Remove one pin. A successful delete returns 204 with an empty body.

Deleting a pin removes only the marker that says the workspace fixed the workflow. The project keeps the workflow the pin set, so no pick changes and no work item moves. From then on, the project can change its own pick with Update a work item type workflow, within the type's governance mode.

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.

type_id:requiredstring (uuid)

The work item type the pin belongs to.

pk:requiredstring (uuid)

The id of the pin 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, id, project_id, updated_at, work_item_type_id, workflow_id.

See Sparse fields.

Scopes ​

workspaces.workflows:write

Errors ​

StatusCodeCause
400invalid_requestThe request body or a query parameter failed validation.
401unauthorizedMissing or invalid credentials.
402payment_requiredWorkspace governance isn't on your plan.
403forbiddenYour role or token scope can't edit workspace workflows.
404not_foundNo such pin on this work item type.
406not_acceptableThe Accept header asks for a representation the API can't produce.
409states_managed_at_projectThe workspace doesn't have governance turned on.
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 workflow pin
bash
curl -X DELETE \
  "https://api.plane.so/api/v2/workspaces/my-team/work-item-types/d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240/governance/pins/0b6d3f92-7e15-4a48-9c27-5f8e1a4d6b30/" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response204

No response body.

Response409
json
{
  "type": "conflict",
  "code": "states_managed_at_project",
  "detail": "Work item type governance is managed at the project level in this workspace."
}