Document AI — DMS

Delete document type

Delete account custom document type by numeric id. Fails with TYPE_IN_USE when documents or workspace defaults still reference the type. System-default types are read-only. POST /documents/document-types-delete with id.

post/documents/document-types-delete

Request

  • Base URL: https://api.paperoffice.ai/latest
  • URL: https://api.paperoffice.ai/latest/documents/document-types-delete
  • Auth: HTTP bearer

Request body

idinteger required

Document type id from po_documents_document_types_list

confirmboolean required

MCP safety gate: must be true to delete

Response

Success

status'success' required
_billingobject

Changes

No recorded changes to this operation across all 1 revision of this API.