For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete model

Delete Model

delete

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

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?