Vault Objects

Update vault object

Changed on

Update a document's filename, folder path, or metadata. Use this to rename files or organize them into virtual folders. The path is a folder, not a complete file path, and is stored separately from the filename.

patch/vault/{id}/objects/{objectId}

Request

  • Base URL
    https://api.case.dev
  • URL
    https://api.case.dev/vault/{id}/objects/{objectId}
  • Auth
    HTTP bearer

Path parameters

idstring required

Vault ID

objectIdstring required

Object ID to update

Request body

filenamestring

New filename for the document (affects display name and downloads)

pathstring nullable

Folder path, excluding the filename, for hierarchy preservation (e.g., '/Discovery/Depositions'). Set to null or empty string to remove.

metadataobject

Additional metadata to merge with existing metadata

Response

Object updated successfully

idstring

Object ID

vaultIdstring

Vault ID

filenamestring

Updated filename

pathstring nullable

Folder path for hierarchy preservation

contentTypestring

MIME type

sizeBytesinteger

File size in bytes

ingestionStatusstring

Processing status

metadataobject

Full metadata object

updatedAtstring date-time

Last update timestamp

Changes