komrad

delete_document_type

Delete a document type.

writesidempotentdestructiveCLI onlyAgent

Komrad refuses while documents of the type exist.

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/DeleteDocumentType \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "<id>"
}'

Request#

DeleteDocumentTypeRequest#

FieldTypeDescription
iduuid*

The document type to delete, by id.

Response#

Empty#

No fields.