Skip to content

Update dropdown options ​

PATCH/api/v1/workspaces/{slug}/projects/{project_id}/work-item-properties/{property_id}/options/{option_id}/

Update an issue property option

Path Parameters ​

option_id:requiredstring

Option id.

project_id:requiredstring

Project ID

property_id:requiredstring

Property ID

slug:requiredstring

Workspace slug

Body Parameters ​

name:optionalstring

Name.

description:optionalstring

Description.

is_active:optionalboolean

Is active.

is_default:optionalboolean

Is default.

external_source:optionalstring

External source.

external_id:optionalstring

External id.

parent:optionalstring

Parent.

Scopes ​

projects.work_item_property_options:write

Update dropdown options
bash
curl -X PATCH \
  "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-item-properties/550e8400-e29b-41d4-a716-446655440001/options/550e8400-e29b-41d4-a716-446655440002/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Example Name",
  "description": "Example description",
  "external_id": "550e8400-e29b-41d4-a716-446655440000",
  "external_source": "github"
}'
Response200
json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "name": "Example Name",
  "description": "Example description",
  "deleted_at": "2024-01-01T00:00:00Z",
  "sort_order": 1,
  "logo_props": "example-value",
  "is_active": true,
  "is_default": true,
  "external_source": "github",
  "external_id": "550e8400-e29b-41d4-a716-446655440000"
}