Delete an Analysis Group
Delete an existing Analysis Group.
Authorizations
AuthorizationstringRequired
Enter your PredictHQ API key. The Bearer prefix is added automatically.
When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating
Path parameters
group_idstringRequiredExample:
An Analysis Group ID. Analyses that belong to this group will be returned.
3ED1zxXqAYResponses
202
Successful Response
No content
400
Bad Request
application/json
401
Unauthorized
application/json
403
Bearer token scope insufficient
application/json
404
Analysis Group not found
application/json
409
Data conflict
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 $API_TOKEN"import requests
response = requests.delete(
url="https://api.predicthq.com/v1/beam/analysis-groups/$GROUP_ID",
headers={
"Authorization": "Bearer $API_TOKEN"
}
)
print(response.status_code)OpenAPI Spec
Last updated
Was this helpful?