public function createDirectory($parentDirectory, $newDirectoryName)
    {
        $result = $this->callService('POST', self::API_FS_MKDIR, [
            'parent'  => $this->encodePath($parentDirectory),
            'dirname' => $newDirectoryName,
        ]);

        return $result->getSuccess();
    }