---
title: "Update a goal"
method: PATCH
path: "/performance/{connection_id}/goal/{id}"
tags: ["performance", "goal"]
---

# Update a goal

`PATCH /performance/{connection_id}/goal/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- PerformanceGoal
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `user_ids` string[] — HR Employees that own or share this goal; the first element is the primary owner
  - `company_id` string
  - `parent_id` string
  - `cycle_id` string
  - `type` 'INDIVIDUAL' | 'TEAM' | 'DEPARTMENT' | 'COMPANY' | 'OTHER'
  - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'CLOSED' | 'OTHER'
  - `progress` number
  - `weight` number
  - `start_at` string, date-time
  - `due_at` string, date-time
  - `completed_at` string, date-time
  - `milestones` PerformanceGoalMilestone[] — milestones or key results for this goal
    - `id` string
    - `name` string, required
    - `description` string
    - `target_value` number
    - `current_value` number
    - `unit` string
    - `weight` number
    - `is_completed` boolean
    - `due_at` string, date-time
  - `raw` object

## Response `200`

Successful

- PerformanceGoal
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `user_ids` string[] — HR Employees that own or share this goal; the first element is the primary owner
  - `company_id` string
  - `parent_id` string
  - `cycle_id` string
  - `type` 'INDIVIDUAL' | 'TEAM' | 'DEPARTMENT' | 'COMPANY' | 'OTHER'
  - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'CLOSED' | 'OTHER'
  - `progress` number
  - `weight` number
  - `start_at` string, date-time
  - `due_at` string, date-time
  - `completed_at` string, date-time
  - `milestones` PerformanceGoalMilestone[] — milestones or key results for this goal
    - `id` string
    - `name` string, required
    - `description` string
    - `target_value` number
    - `current_value` number
    - `unit` string
    - `weight` number
    - `is_completed` boolean
    - `due_at` string, date-time
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/aeeac8203aca/schema)
