Delete Tag

Delete an existing tag to a file or folder.

Request

POST https://test-uni.cloudplan.biz/api/search/delete_tag

{
    "tag_id": ...                     //id of the tag
    "remove_protected": true/false    //if the tag has deletion protection use this flag to override
}

Reply

{
    "result": true/false
    "reason": ...
}

Error Codes

user_not_admin
illegal_argument_org_id
no_tag_id
tag_not_found
tag_not_from_your_organisation