Skip to main content
PUT
Create or replace a credential

Authorizations

x-api-key
string
header
required

Path Parameters

sourceKey
string
required
Example:

"de_transparenzregister"

Body

application/json
payload
object
required

Credential payload. Shape depends on the sourceKey format. Call GET /v2/vault/sources to learn the required fields.

Example:

Response

200 - application/json
sourceKey
string
required
Example:

"de_transparenzregister"

origin
string
required
Example:

"customer_provided"

shape
string
required
Example:

"email_password"

ownerWorkspaceId
string
required

Workspace the row physically lives on.

version
number
required

Generation counter, bumped on PUT. Last-write-wins under concurrent PUTs — two PUTs racing on the same (workspace, sourceKey) may both observe version N and both write N+1; one payload survives. Not a strict monotonic per-PUT counter.

Example:

1

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
expiresAt
string<date-time> | null
required
inheritedFromWorkspaceId
string

Workspace this entry was resolved from when serving the requested workspace. Equal to ownerWorkspaceId for direct hits, equal to the default workspace for inherited reads.