---
title: "DELETE /credentials/{namespace}/{name}"
method: DELETE
path: "/credentials/{namespace}/{name}"
tags: ["user", "organization"]
---

# DELETE /credentials/{namespace}/{name}

`DELETE /credentials/{namespace}/{name}`

## Request

- Base URL: `/v2` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v2/credentials/{namespace}/{name}`
- Auth: one of:
  - HTTP basic
  - API key in header `X-TILEDB-REST-API-KEY`

Delete the named access credential. Any arrays still set to use this credential will use the namespace's default and may become unreachable.

## Response `204`

The credential was deleted successfully

## Other responses

- `502`: Bad Gateway
- `default`: Error response

## Changes

- **2023-02-17** (v2) `1dc25429ac96`: 1 info
  - added the non-success response with the status `502`
- **2023-02-17** (v2) `cb4897d3247d`: 1 info
  - removed the non-success response with the status `502`
- **2022-11-03** (v2) `dd919c4fb5a3`: 1 info
  - added the non-success response with the status `502`
- **2022-11-03** (v2) `38cbb9a7a8ed`: 1 info
  - removed the non-success response with the status `502`
- **2022-10-21** (v2) `35603092a7df`: 1 info
  - added the non-success response with the status `502`

[Operation history](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api/changes/credentials/:namespace/:name/delete.md)

---

[API](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api.md) - [All operations](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api/revisions/f9cbeb4407a5?raw)
