Skip to content

goals/update_parent_goal

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/goals/update_parent_goal
HandlerOperatelyWeb.Api.Goals.UpdateParentGoal

Authentication#

  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.

Inputs#

FieldTypeRequiredNullableDefault
goal_idid primitive (encoded as string)YesNo-
parent_goal_idid primitive (encoded as string)YesYes-

Outputs#

FieldTypeRequiredNullable
successbooleanYesYes

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/goals/update_parent_goal" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"goal_id":"value", "parent_goal_id":"value"}'

Response Example#

{
  "success": true
}