Controller/FoldersController.php
public function removeFolder($id)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->delete('v1/folders/' . $id . '', $parameters);
        $result = new FolderResponse($result);

        return $result;
    }
public function removeFolder($id)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode([], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->delete('v1/folders/' . $id . '', $parameters);
        $result = new FolderResponse($result);

        return $result;
    }
Delete a Folder.

Delete a Folder and all subfolders. Will NOT delete Media attached to the Folder.

@param  int            $id the Folder identifier
@return FolderResponse