business

Update goals

Change a goal's target and due date (null makes it ongoing). Pass the goal's current revision as expectedRevision; if it changed since you read it, this fails with STALE_WRITE and you re-read the goal. The metric, subject, and baseline never change: set a new goal instead.

post/api/v1/business/goals/update

Request

  • Base URL: https://point11.ai
  • URL: https://point11.ai/api/v1/business/goals/update
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.point11.ai/oauth2/authorize, token URL https://auth.point11.ai/oauth2/token)

Headers

Point11-Organizationstring uuid

Organization to act in. Required for OAuth bearers; an API key acts in the organization that owns it.

Idempotency-Keystring uuid required

UUID naming this intent. Retry with the same key; reuse for other input is 409.

Request body

idstring uuid required
expectedRevisioninteger required
targetValuenumber required
dueOnstring date nullable required

The last day of the goal, YYYY-MM-DD; null for an ongoing goal with no deadline

Response

Success.

Changes

No recorded changes to this operation across all 1 revision of this API.