Cloud and BYOC for Orca Agent Engine are in Private Preview — request an invite
Docs
Vaults

Vaults.update credential

POST/v1/vaults/{vault_id}/credentials/{credential_id}
x-api-key<token>

Workspace API key. Read from the x-api-key header by src/auth/api-key.ts. A key that is present and does not authenticate is final — no other scheme is consulted.

In: header

Path Parameters

vault_id*string
Match^(?:vlt)_[A-Za-z0-9_-]+$
credential_id*string
Match^(?:vcrd)_[A-Za-z0-9_-]+$

Header Parameters

idempotency-key?string
orca-beta?string
anthropic-beta?string

Accepted for Anthropic SDK compatibility and ignored. No value of this header changes request handling. Typed as a free-form string rather than an enum because this service recognises no specific beta value.

Request Body

application/json

Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/vaults/string/credentials/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "type": "vault_credential",  "vault_id": "string",  "display_name": "string",  "auth": {    "type": "static_bearer",    "mcp_server_url": "string"  },  "metadata": {    "property1": "string",    "property2": "string"  },  "archived_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}