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

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

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

Deletes a what-if forecast export created using the <a>CreateWhatIfForecastExport</a> operation. You can delete only what-if forecast exports that have a status of <code>ACTIVE</code> or <code>CREATE_FAILED</code>. To get the status, use the <a>DescribeWhatIfForecastExport</a> operation.

## Headers

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

## Request body

- DeleteWhatIfForecastExportRequest
  - `WhatIfForecastExportArn` string, required — The Amazon Resource Name (ARN) of the what-if forecast export that you want 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/revisions/3d1c872d2ac9/schema)
