Partially update an existing Analysis Group.
Last updated 6 months ago
Was this helpful?
PATCH https://api.predicthq.com/v1/beam/analysis-groups/$group_id
group_id
An existing Beam Analysis Group ID.
Content-Type
application/json
This endpoint accepts the same request body fields as the Create an Analysis endpoint. Please refer to the documentation for request body parameters.
Remember this is a PATCH endpoint which means only the fields you provide will be updated.
If you wish to replace all fields please use the .
If successful, the HTTP response code will be 202 Accepted.
202 Accepted
curl -X PATCH "https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID" \ -H "Accept: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ --data @<(cat <<EOF { "name": "Analysis Group 2", } EOF )
import requests response = requests.patch( url="https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID", headers={ "Authorization": "Bearer $ACCESS_TOKEN", "Accept": "application/json" }, json={ "name": "Analysis Group 2" } ) print(response.status_code)