public function createFolder(Folder $folder, $parentId = 0, $inheritAccess = null)
    {
        $parameters = [
            'query' => ['parentId' => $parentId],
            'body' => json_encode(['folder' => $folder, 'inheritAccess' => $inheritAccess], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

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

        return $result;
    }