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>"
}'komrad rpc delete-document-type \
--id '<uuid>'Request#
DeleteDocumentTypeRequest#
| Field | Type | Description |
|---|---|---|
id | uuid* | The document type to delete, by id. |
Response#
Empty#
No fields.