Skip to content

Update a custom property

PATCH/api/v1/workspaces/{workspace_slug}/projects/{project_id}/work-item-types/{type_id}/work-item-properties/{property_id}/

Updates an existing custom property by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Path Parameters

workspace_slug:requiredstring

The workspace_slug represents the unique workspace identifier for a workspace in Plane. It can be found in the URL. For example, in the URL https://app.plane.so/my-team/projects/, the workspace slug is my-team.

project_id:requiredstring

The unique identifier of the project.

type_id:requiredstring

The unique identifier for the work item type.

property_id:requiredstring

The unique identifier for the custom property.

Body Parameters

display_name:requiredstring

Display name shown in the UI.

description:optionalstring

Description of the custom property.

default_value:optionalstring[]

Default value(s) for the property.

validation_rules:optionalobject

Validation rules applied to property values.

is_required:optionalboolean

Whether this property is required when creating work items.

is_active:optionalboolean

Whether this property is currently active.

is_multi:optionalboolean

Whether this property allows multiple values.

Update a custom property
bash
curl -X PATCH \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/project-uuid/work-item-types/{type_id}/work-item-properties/{property_id}/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "display_name": "example-display_name",
  "description": "example-description",
  "default_value": "example-default_value",
  "validation_rules": "example-validation_rules",
  "is_required": true,
  "is_active": true,
  "is_multi": true
}'
Response200
json
{
  "id": "project-uuid",
  "name": "Project Name",
  "identifier": "PROJ",
  "description": "Project description",
  "created_at": "2024-01-01T00:00:00Z"
}