public function uploadResource($resourceId, UploadResourceParameters $params)
    {
        $endpoint = vsprintf('resources/%s', $resourceId);
        $requestData = $this->getDefaultRequestData('multipart', $params->exportToArray());

        return $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_PUT);
    }