---
title: "PATCH /catalog/usql/databases/{databaseName}/credentials/{credentialName}"
method: PATCH
path: "/catalog/usql/databases/{databaseName}/credentials/{credentialName}"
tags: ["Catalog"]
---

# PATCH /catalog/usql/databases/{databaseName}/credentials/{credentialName}

`PATCH /catalog/usql/databases/{databaseName}/credentials/{credentialName}`

Modifies the specified credential for use with external data sources in the specified database

## Path parameters

- `databaseName` string, required
- `credentialName` string, required

## Query parameters

- `api-version` string, required

## Request body

- DataLakeAnalyticsCatalogCredentialUpdateParameters — Data Lake Analytics catalog credential update parameters.
  - `password` string — the current password for the credential and user with access to the data source. This is required if the requester is not the account owner.
  - `newPassword` string — the new password for the credential and user with access to the data source.
  - `uri` string — the URI identifier for the data source this credential can connect to in the format <hostname>:<port>
  - `userId` string — the object identifier for the user associated with this credential with access to the data source.

## Response `200`

Successfully updated the specified credential's password in the specified database

---

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