---
title: "POST /#X-Amz-Target=AmazonForecast.DeletePredictor"
method: POST
path: "/#X-Amz-Target=AmazonForecast.DeletePredictor"
---

# POST /#X-Amz-Target=AmazonForecast.DeletePredictor

`POST /#X-Amz-Target=AmazonForecast.DeletePredictor`

Deletes a predictor created using the <a>DescribePredictor</a> or <a>CreatePredictor</a> operations. You can delete only predictor that have a status of <code>ACTIVE</code> or <code>CREATE_FAILED</code>. To get the status, use the <a>DescribePredictor</a> operation.

## Headers

- `X-Amz-Target` 'AmazonForecast.DeletePredictor', required

## Request body

- DeletePredictorRequest
  - `PredictorArn` string, required — The Amazon Resource Name (ARN) of the predictor to delete.

## Response `200`

Success

## Other responses

- `480` — InvalidInputException
- `481` — ResourceNotFoundException
- `482` — ResourceInUseException

---

[API](https://skmtc.net/aws/apis/forecast.md) · [All operations](https://skmtc.net/aws/apis/forecast/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/forecast/versions/3d1c872d2ac9/schema)
