---
title: "DELETE /inma/collections/{collectionId}/ingestions/{ingestionId}"
method: DELETE
path: "/inma/collections/{collectionId}/ingestions/{ingestionId}"
tags: ["Ingestion Management"]
---

# DELETE /inma/collections/{collectionId}/ingestions/{ingestionId}

`DELETE /inma/collections/{collectionId}/ingestions/{ingestionId}`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/inma/collections/{collectionId}/ingestions/{ingestionId}`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `https://geocatalog.spatio.azure.com/.default`

Delete an ingestion from a catalog. All runs of the ingestion will be deleted. Ingestion must not have any runs in progress or queued.

## Path parameters

- `collectionId` string, required
- `ingestionId` string, uuid, required

## Query parameters

- `api-version` string, required

## Response `202`

The request has been accepted for processing, but processing has not yet completed.

- Operation: Microsoft Planetary Computer Pro geo-catalog operation
  - `id` string, uuid, required: Universally Unique Identifier
  - `status` 'Pending' | 'Running' | 'Succeeded' | 'Canceled' | 'Canceling' | 'Failed', required: Operation status
  - `type` string, required: Operation type
  - `creationTime` string, date-time, required: The UTC time at which the operation was created
  - `collectionId` string: Collection ID
  - `statusHistory` OperationStatusHistoryItem[], required: The history of the operation status in time
    - `timestamp` string, date-time, required: The UTC time at which the status was set
    - `status` 'Pending' | 'Running' | 'Succeeded' | 'Canceled' | 'Canceling' | 'Failed', required: Operation status
    - `errorCode` string: If the status is failed, the error code
    - `errorMessage` string: If the status is failed, the error message
  - `startTime` string, date-time: The UTC time at which the operation was started
  - `finishTime` string, date-time: The UTC time at which the operation finished its execution
  - `additionalInformation` object: Additional information elements about the particular operation type
  - `error` ErrorInfo: Error information wrapper
    - `error` AzureCoreFoundationsError, required: The error object.
      - `code` string, required: One of a server-defined set of error codes.
      - `message` string, required: A human-readable representation of the error.
      - `target` string: The target of the error.
      - `details` AzureCoreFoundationsError[]: An array of details about specific errors that led to this reported error.
      - `innererror` AzureCoreFoundationsInnerError: An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.
        - `code` string: One of a server-defined set of error codes.
        - `innererror` AzureCoreFoundationsInnerError (recursive)

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer.md) - [All operations](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer/revisions/42447be18bc5?raw)
