Skip to main content
PATCH
/
v1
/
teams
/
{team_id}
/
vault-connections
/
{connection_id}
Update Vault Connection
curl --request PATCH \
  --url https://api.dataraven.io/v1/teams/{team_id}/vault-connections/{connection_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "vault_type": "onepassword",
  "last_verified_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connection_id
string<uuid>
required
team_id
string<uuid>
required

Body

application/json

Schema for updating vault connection.

Only non-sensitive fields can be updated. To rotate the access token, use the dedicated rotate endpoint.

name
string | null
Required string length: 1 - 255
description
string | null
Maximum string length: 2000

Response

Successful Response

Schema for vault connection response (without sensitive data).

id
string<uuid>
required
name
string
required
description
string | null
required
vault_type
enum<string>
required

External vault provider types for credential storage.

ONEPASSWORD: 1Password via service account SDK DOPPLER: Doppler secrets manager via service token INFISICAL: Infisical via machine identity (Universal Auth)

Available options:
onepassword,
doppler,
infisical
last_verified_at
string<date-time> | null
required
created_at
string<date-time>
required
created_by
string<uuid>
required