Delete

Delete a document class, the user needs to have sufficient permissions. Deleted document classes will be archived and can be restored at any time. Deletion happens recurively, so any child document classes will be deleted too.

Request

POST https://test-uni.cloudplan.biz/api/docclass/delete

{
    "class_id": ...       //(string) the class to be deleted
}

Example 0

REQUEST
{
    "class_id": "5FCA267D02E8E1A82F0B87F6C145DE35"
}

REPLY
{
    "result": true
}

Error Codes

class_not_found

error codes from :doc:`api/user/login`