Skip to main content
PUT
/
Project
Update a project
curl --request PUT \
  --url https://api.plantpredict.terabase.energy/Project \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 190829,
  "latitude": 41.6528052,
  "longitude": -83.5378674,
  "country": "United States",
  "countryCode": "US",
  "stateProvince": "Ohio",
  "stateProvinceCode": "OH",
  "locality": "Toledo",
  "region": "North America",
  "elevation": 178.5460357666016,
  "standardOffsetFromUTC": -5,
  "predictions": [],
  "status": 0,
  "name": "Sample Project - Update",
  "description": null
}
'
{
  "message": "The request is invalid.",
  "modelState": {
    "latitude": [
      "The field Latitude must be between -90 and 90."
    ]
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.

Body

application/json
name
string
required
latitude
number<double>
required
longitude
number<double>
required
description
string | null
elevation
number<double>
country
string
countryCode
string
stateProvince
string
stateProvinceCode
string
locality
string
region
string
standardOffsetFromUTC
number
status
enum<integer>

ProjectStatusEnum

Available options:
0,
1,
2
predictions
object[]

Response

Success (no body)