Skip to main content
PUT
/
v1
/
projects
/
{project_id}
/
elements
/
{element_id}
/
indicators
/
{id}
Update indicator
curl --request PUT \
  --url https://{tenant}.torchapp.com.au/api/v1/projects/{project_id}/elements/{element_id}/indicators/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "b",
  "type": "qualitative",
  "description": "Eius et animi quos velit et.",
  "calculation": "cumulative",
  "unit_of_measure": "v",
  "method_of_collection": "architecto",
  "disaggregation": "architecto",
  "baseline_period": "n",
  "information_source": "architecto",
  "collection_timing": "architecto",
  "data_collector": "architecto",
  "level_of_ambition": "architecto",
  "status": "Archived"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
integer
required

The ID of the project.

element_id
integer
required

The ID of the element.

id
integer
required

The ID of the indicator.

Body

application/json
name
string
Maximum string length: 255
Example:

"b"

type
enum<string>
Available options:
qualitative,
quantitative,
status,
financial
Example:

"qualitative"

description
string
Example:

"Eius et animi quos velit et."

calculation
enum<string>
Available options:
cumulative,
time-period
Example:

"cumulative"

unit_of_measure
string
Maximum string length: 255
Example:

"v"

method_of_collection
string
Example:

"architecto"

disaggregation
string
Example:

"architecto"

baseline_period
string
Maximum string length: 255
Example:

"n"

information_source
string
Example:

"architecto"

collection_timing
string
Example:

"architecto"

data_collector
string
Example:

"architecto"

level_of_ambition
string
Example:

"architecto"

status
enum<string>
Available options:
Active,
Archived
Example:

"Archived"

Response

Indicator updated

The response is of type object.