Delete model
Permanently deletes a forecast model and all associated demand data and forecasts. The model must not be in preparing, training, or forecasting status. This action is irreversible.
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
model_idstringRequired
The unique identifier of the forecast model.
Responses
204
Successful Response
No content
400
Bad Request
application/json
401
Unauthorized
application/json
402
Payment Required
application/json
403
Forbidden
application/json
404
Not Found
application/json
delete/v1/forecasts/models/{model_id}
DELETE /v1/forecasts/models/{model_id} HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
OpenAPI Spec
The OpenAPI spec for Forecasts API can be found here.
Guides
Last updated
Was this helpful?