public function removeObjectFromFolder(
        $repositoryId,
        $objectId,
        $folderId = null,
        ExtensionDataInterface $extension = null
    )
    {
        $url = $this->getObjectUrl($repositoryId, $objectId);

        $queryArray = [
            Constants::CONTROL_CMISACTION => Constants::CMISACTION_REMOVE_OBJECT_FROM_FOLDER,
            Constants::PARAM_SUCCINCT => $this->getSuccinct() ? 'true' : 'false',
            Constants::PARAM_FOLDER_ID => $folderId,
        ];

        $this->post($url, $queryArray);
    }