updateDocumentType
Update a document type
Updates an existing document type. All fields are optional.
Permissions:
- Non-admin users can only update document types they created
- Non-admin users cannot set
isPublictotrue codeTypeis immutable and will be ignored if provided
When isDraft changes, the status field is automatically updated.
A version snapshot is created with the state before the update.
Authorization
ApiKeyAuth Bearer token for API authentication
In: header
Path Parameters
Document type ID
Request Body
application/json
Response Body
application/json
listDocumentTypes GET
Retrieves the list of document types the user has access to. Includes: - Documents created by the user - Documents from the user's organizations - Public published documents (isPublic=true and isDraft=false) Supports pagination and search.
validateDocument POST
Validates a JSON document against the validation rules of the document type. Returns errors and warnings found during validation.