---
title: "Delete a Credential"
method: DELETE
path: "/data_credentials/{credential_id}"
tags: ["Credentials"]
---

# Delete a Credential

`DELETE /data_credentials/{credential_id}`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/data_credentials/{credential_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/data_credentials/:credential_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a credential from your Nexla account.

## Path parameters

- `credential_id` string, required

## Headers

- `Accept` 'application/vnd.nexla.api.v1+json' | 'application/json': Setting to `application/vnd.nexla.api.v1+json` is recommended.

## Response `200`

Success

- object
  - `code` string: Response status code
  - `message` string: Response status text

## Other responses

- `404`: Not found error

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
