Skip to main content
PATCH
/
api
/
orgs
/
{id}
/
goals
/
{goalId}
Update goal
curl --request PATCH \
  --url https://atollhq.com/api/orgs/{id}/goals/{goalId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "owner_id": "<string>",
  "status": "active",
  "target_date": "2023-12-25"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.atollhq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

id identifier

goalId
string
required

goalId identifier

Body

application/json
title
string
description
string
owner_id
string
status
enum<string>
Available options:
active,
achieved,
missed,
paused,
cancelled
target_date
string<date>

Response

Successful response

The response is of type object.