Restore¶
Restore a deleted document class. Previously assigned files will be assigned this class again. Restore does _not_ happen recursively. So if a tree should be restored each class and sub-class must be restored individually.
Request¶
POST https://test-uni.cloudplan.biz/api/docclass/restore
{
"class_id": ... //(string) the class to be restored
}
Example 0¶
REQUEST
{
"class_id": "5FCA267D02E8E1A82F0B87F6C145DE35"
}
REPLY
{
"result": true
}
Error Codes¶
class_not_found
parent_class_deleted
process_error
error codes from :doc:`api/user/login`