Delete an Analysis Group
Delete an existing Analysis Group.
Delete an existing Analysis Group.
Authorizations
AuthorizationstringRequired
Use 'Authorization: Bearer <YOUR_API_KEY>' as documented at https://docs.predicthq.com/authentication
Path parameters
group_idstringRequiredExample:
An Analysis Group ID. Analyses that belong to this group will be returned.
3ED1zxXqAYResponses
202
Successful Response
403
Bearer token scope insufficient
404
Analysis Group not found
409
A data conflict has occurred due to the analysis group being modified elsewhere. Please retry your call later.
422
Validation Error
application/json
delete
/v1/beam/analysis-groups/{group_id}DELETE /v1/beam/analysis-groups/{group_id} HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Examples
curl -X DELETE "https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
response = requests.delete(
url="https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID",
headers={
"Authorization": "Bearer $ACCESS_TOKEN"
}
)
print(response.status_code)OpenAPI Spec
The OpenAPI spec for Beam API can be found here.
Last updated
Was this helpful?