Update an Analysis
Update (replace) an existing Analysis.
Request
HTTP Request
PUT https://api.predicthq.com/v1/beam/analyses/
Path Parameters
Parameter
Description
analysis_id
An existing Beam Analysis ID.
Request Headers
Header
Value
Content-Type
application/json
Request Body
Response
If successful, the HTTP response code will be 204 No Content
.
Examples
curl -X PUT "https://api.predicthq.com/v1/beam/analyses/$ANALYSIS_ID" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @<(cat <<EOF
{
"name": "Analysis 2",
"location": {
"geopoint": {
"lat": "-36.849761",
"lon": "174.7628903"
},
"radius": 1.2,
"unit": "km"
},
"rank": {
"type": "phq"
}
}
EOF
)
Guides
Below are some guides relevant to this API:
Last updated
Was this helpful?