Company Documents

Rename an own company document or change its type

Updates the name and/or document type of the caller's document and returns it as it now stands — the document itself, not wrapped in { data, metadata }. Both fields are optional; an omitted or null one keeps its current value (null cannot clear it). A document the caller cannot see answers 404. A company the document was shared with, or filed on, can see it but not edit it: 403. An empty body is accepted and changes nothing but the updater stamp.

patch/api/company-documents/{id}

Path parameters

idstring required

Request body

namestring nullable
documentTypeIdstring nullable

Response

Default Response

idstring required
companyIdstring nullable required
ownerCompanyIdstring nullable required
namestring required
documentTypeIdstring nullable required
fileIdstring nullable required
fileUrlstring nullable required
originalFileUrlstring nullable required
fileTypestring nullable required
fileContentTypestring nullable required
typestring nullable required
createdAtstring date-time nullable required
updatedAtstring date-time nullable required

Changes

Changed in 1 of the 56 revisions of this API.1

Of the 56 revisions, 1 has no diff computed.