---
title: "DELETE /catalog/usql/databases/{databaseName}/secrets/{secretName}"
method: DELETE
path: "/catalog/usql/databases/{databaseName}/secrets/{secretName}"
tags: ["Catalog"]
deprecated: true
---

# DELETE /catalog/usql/databases/{databaseName}/secrets/{secretName}

`DELETE /catalog/usql/databases/{databaseName}/secrets/{secretName}`

> **Deprecated.**

Deletes the specified secret in the specified database. This is deprecated and will be removed in the next release. Please use DeleteCredential instead.

## Path parameters

- `databaseName` string, required
- `secretName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Successfully deleted the specified secret from the specified database.

---

[API](https://skmtc.net/azure/apis/datalakeanalyticscatalogmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/datalakeanalyticscatalogmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/datalakeanalyticscatalogmanagementclient/versions/98b03eceec3e/schema)
