.. function:: POST /users/{uid}/mysoftware/{msid}/licenses/{lid}
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.6
Uploads a license file for a software component. This request is similar to :ref:`mySoftwareLicense-uploadFile`
- Requires Authentication:
true
- Entitlements Required:
software_upload
uid
(required): the id of the :ref:`user-object`msid
(required): the id of the :ref:`mySoftware-object`lid
(required): the id of the :ref:`license-object`
The file to upload.
curl "https://uforge.example.com/api/users/{uid}/mysoftware/{msid}/licenses/{lid}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
.. seealso:: * :ref:`mySoftwareArtifact-add` * :ref:`mySoftwareArtifact-addChild` * :ref:`mySoftwareArtifact-addOrRemoveFileFromCache` * :ref:`mySoftwareArtifact-createFromRemoteServer` * :ref:`mySoftwareArtifact-delete` * :ref:`mySoftwareArtifact-deleteAll` * :ref:`mySoftwareArtifact-download` * :ref:`mySoftwareArtifact-downloadFile` * :ref:`mySoftwareArtifact-get` * :ref:`mySoftwareArtifact-getAll` * :ref:`mySoftwareArtifact-update` * :ref:`mySoftwareArtifact-updateAll` * :ref:`mySoftwareArtifact-upload` * :ref:`mySoftwareExportStatus-get` * :ref:`mySoftwareExport-delete` * :ref:`mySoftwareExport-download` * :ref:`mySoftwareLicense-delete` * :ref:`mySoftwareLicense-download` * :ref:`mySoftwareLicense-uploadFile` * :ref:`mySoftwareLogo-delete` * :ref:`mySoftwareLogo-download` * :ref:`mySoftwareLogo-downloadFile` * :ref:`mySoftwareLogo-upload` * :ref:`mySoftwareRestrictionOS-evaluate` * :ref:`mySoftwareRestrictionOS-getAll` * :ref:`mySoftwareRestriction-update` * :ref:`mySoftwareUsage-getAll` * :ref:`mySoftware-availableForImage` * :ref:`mySoftware-clone` * :ref:`mySoftware-create` * :ref:`mySoftware-delete` * :ref:`mySoftware-export` * :ref:`mySoftware-get` * :ref:`mySoftware-getAll` * :ref:`mySoftware-update` * :ref:`mysoftware-object` * :ref:`softwareBundleImport-get` * :ref:`softwarebundleImportStatus-get` * :ref:`softwarebundleImport-upload` * :ref:`softwarebundle-import`