VaultsUpdate a vault name or descriptionpatch

Update a vault name or description

Updates a Vault display name and description. These values are stored on the underlying team record.

curl -X PATCH "https://api.textmine.com/v3/vaults/123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (`tm_<key>`)" \
  -d '{
  "name": "Validated supplier agreements",
  "description": "Supplier agreements with reviewed metadata."
}'
{
  "id": 12345,
  "name": "Commercial contracts",
  "description": "Contracts reviewed by the commercial legal team.",
  "teamId": 321,
  "organizationId": 654,
  "documentCount": 48,
  "createdAt": "2024-12-25T10:00:00Z",
  "updatedAt": "2024-12-25T10:00:00Z"
}
PATCH
/v3/vaults/{vaultId}
PATCH
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (`tm_<key>`)
Bearer Tokenstring
Required

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.
path
vaultIdinteger
Required

Vault ID.

Format: int64
Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (tm_<key>). Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Path Parameters

Body

application/json
namestring
Example:
Commercial contracts
descriptionstring
Example:
Validated commercial agreements and supplier contracts.

Responses

idinteger
namestring
descriptionstring
teamIdinteger
organizationIdinteger
documentCountinteger
createdAtstring
updatedAtstring