---
title: "Remove the specified credential."
method: DELETE
path: "/credentials/{credential_id}"
tags: ["credentials"]
---

# Remove the specified credential.

`DELETE /credentials/{credential_id}`

You need `workspaces.credential.edit` permission to access this resource.

## Path parameters

- `credential_id` string, required

## Response `204`

No Content

- object

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
