---
title: "Delete a diagnostic bundle"
method: DELETE
path: "/v1/integration/continuous/monitoring/projects/{projectId}/diagnostic-bundles/{bundleId}"
tags: ["Monitor and Trigger Continuous Integration Projects"]
---

# Delete a diagnostic bundle

`DELETE /v1/integration/continuous/monitoring/projects/{projectId}/diagnostic-bundles/{bundleId}`

## Request

- Base URL: `https://integration-adapter.connect.cloud.precisely.com`
- URL: `https://integration-adapter.connect.cloud.precisely.com/v1/integration/continuous/monitoring/projects/{projectId}/diagnostic-bundles/{bundleId}`
- Auth: HTTP bearer

Deletes a diagnostic bundle by its ID for the specified project.

Process Overview:
- Validate caller has `replication-pipeline::delete` permission when permission harmonization is enabled; otherwise, require `replication-pipeline::manage`.
- Locate and delete the specified diagnostic bundle from on-prem components.
- Delete associated metadata from monitoring service.

Key Features:
- Permanent deletion of diagnostic bundle and associated data.
- Returns 204 No Content on successful deletion.

**Required Permissions:** `replication-pipeline::delete` when permission harmonization is enabled; otherwise, `replication-pipeline::manage`.

## Path parameters

- `projectId` string, required
- `bundleId` string, required

## Response `204`

No Content - Diagnostic bundle deleted successfully

## Other responses

- `400`: Bad Request - Invalid bundle ID format
- `401`: Unauthorized - Authentication required
- `403`: Forbidden - User lacks the required 'replication-pipeline::delete' or legacy 'replication-pipeline::manage' permission
- `404`: Not Found - Project or bundle not found
- `500`: Internal Server Error - Failed to delete diagnostic bundle

---

[API](https://skmtc.dev/precisely/apis/precisely-integration-adapter-service.md) · [All operations](https://skmtc.dev/precisely/apis/precisely-integration-adapter-service/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/precisely-integration-adapter-service/revisions/2d2629f4987d?raw)
