Move¶
Move class to a new parent class.
PREVIEW - NOT AVAILABLE YET
Request¶
POST https://test-uni.cloudplan.biz/api/docclass/move
{
"class_id": ... //(string) the class to be moved
"parent_id": ... //(string) new parent id
}
Example 0¶
REQUEST
{
"class_id": "5FCA267D02E8E1A82F0B87F6C145DE35",
"parent_id": ""
}
REPLY
{
"result": true
}
Note: this moves the class to the root level
Error Codes¶
class_not_found
parent_class_deleted
error codes from :doc:`api/user/login`