.. function:: PUT /users/{uid}/scannedinstances/{siid}/scans/{sid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.4
Updates a scan object.
- Requires Authentication:
true
- Entitlements Required:
migration_access
uid
(required): the user name (login name) of the :ref:`user-object`siid
(required): the id of the :ref:`scannedinstance-object`sid
(required): the id of the :ref:`scan-object`
A :ref:`scan-object` object
curl "https://uforge.example.com/api/users/{uid}/scannedinstances/{siid}/scans/{sid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
.. seealso:: * :ref:`machinescaninstance-api-resources` * :ref:`scan-object` * :ref:`scanFileArchive-download` * :ref:`scanFile-getAll` * :ref:`scanInstallProfile-get` * :ref:`scanOverlay-download` * :ref:`scanOverlay-upload` * :ref:`scanOverlay-uploadChunk` * :ref:`scanPackageBinary-getAll` * :ref:`scanPackageFile-get` * :ref:`scanPackage-getAll` * :ref:`scanPartition-upload` * :ref:`scanSync-create` * :ref:`scanSync-get` * :ref:`scanSync-getFiles` * :ref:`scan-cancel` * :ref:`scan-compare` * :ref:`scan-create` * :ref:`scan-delete` * :ref:`scan-get` * :ref:`scan-multipartCreate` * :ref:`scannedInstanceScan-deleteAll` * :ref:`scannedInstanceScan-getAll` * :ref:`scannedinstance-object` * :ref:`scansync-object` * :ref:`userScan-getAll`