---
title: "Delete Users Credential"
method: DELETE
path: "/api/credentials/{cred_name}"
tags: ["Credentials API"]
---

# Delete Users Credential

`DELETE /api/credentials/{cred_name}`

## Request

- The document declares no server URL.
- Auth: none declared

Delete user credentials given the secret_id

## Path parameters

- `cred_name` string, required

## Headers

- `x-osmo-user` string, nullable

## Response `200`

Successful Response

- CredentialGetResponse: Credential Response.
  - `credentials` object[], required

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-03** `b9d312a13f5d`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-08** `a8157dc3279d`: 1 breaking, 2 info
  - response property `credentials/items/additionalProperties/` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - `header` request parameter `x-osmo-user` list-of-types was widened by adding types `null`
  - for the `header` request parameter `x-osmo-user`, the type was generalized from `string` to no type

[Operation history](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/changes/api/credentials/:cred_name/delete.md)

---

[API](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api.md) - [All operations](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/revisions/845585a71dbb?raw)
