ScalePad icon

ScalePad

Interact with ScalePad Core API and Lifecycle Manager

Goal → Update

AI-generated

Summary

Updates an existing ScalePad Goal by replacing specified fields with provided values.

Inputs

  • goalId (required) — The ID of the goal to update.
  • title — The title of the goal.
  • description — Description of the goal.
  • category — Category of the goal (options: Security, Compliance, Efficiency, Growth, Cost Reduction, Other).
  • target_date — Target completion date for the goal.

Output shape

A single record representing the updated Goal.

Only fields provided in 'Update Fields' are modified; unspecified fields retain their current values.

Examples

Example 1: Change the category of a goal from 'Other' to 'Growth' and set a completion date.

goalId: '12345', updateFields: { category: 'growth', target_date: '2024-12-31T00:00:00.000Z' }

Example 2: Update a goal's description.

goalId: '12345', updateFields: { description: 'New project description text.' }

Links

Discussion