---
title: "Delete Scan Profile"
method: DELETE
path: "/api/discovery-scan-config/v2/scan-profiles/{scanProfileId}"
tags: ["Scan Profiles"]
---

# Delete Scan Profile

`DELETE /api/discovery-scan-config/v2/scan-profiles/{scanProfileId}`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/discovery-scan-config/v2/scan-profiles/{scanProfileId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `DATA_DISCOVERY`

Use this API to delete an existing scan profile.

## Path parameters

- `scanProfileId` string, uuid, required

## Response `204`

Scan Profile deleted successfully

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/data-use-governance-data-discovery.md) - [All operations](https://skmtc.dev/onetrust/apis/data-use-governance-data-discovery/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/data-use-governance-data-discovery/revisions/3de7ce93ffb7?raw)
