Delete Credential
/anthropic/v1/vaults/{vault_id}/credentials/{credential_id}◐ PartialRequest parameters
vault_idstringrequiredpath: Vault ID (path or query parameter).
credential_idstringrequiredpath: Path parameter: the credential ID.
vault_idstringrequiredquery: Vault ID (path or query parameter).
Returns
200
Supports environment_variable and static_bearer. environment_variable networking supports limited only; unrestricted returns 400. secret_name may contain only uppercase letters, digits and underscores and cannot start with a digit. injection_location defaults match the official API. A static_bearer token is usable only on the host of its mcp_server_url. Creating or updating mcp_oauth returns 501 (not_implemented_error), produces no side effects, and the official SDK does not retry; use one-click authorization at /vault/v1/authorizations for OAuth tokens. A vault holds at most 20 active credentials. Metadata keys starting with anthropic. are reserved and cannot be written.
Errors follow the Claude Managed Agents format — see error codes
Request
curl
curl -X DELETE https://api.deepraxis.com/anthropic/v1/vaults/vlt_123/credentials/vsec_123 \
-H "x-api-key: $PRAXIS_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: managed-agents-2026-04-01"Python
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.deepraxis.com/anthropic",
api_key="$PRAXIS_API_KEY",
)
result = client.beta.vaults.credentials.delete("vsec_123", vault_id='vlt_123')
print(result)TypeScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.deepraxis.com/anthropic",
apiKey: "$PRAXIS_API_KEY",
});
const result = await client.beta.vaults.credentials.delete("vsec_123", {
"vault_id": "vlt_123"
});
console.log(result);Response 200
{
"id": "vsec_33fbcd3aebec462da14c6aba91a66219",
"type": "vault_credential_deleted"
}Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the deleted credential. |
| type | string |