PUT /orgs/{oid}/targetformats/{tfid}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.6
Updates the information of a target format.
Please refer to targetformat-object
for a complete list of all the target format
attributes.
- Requires Authentication:
true
- Entitlements Required:
org_formats_administrate
oid
(required): the id of theorg-object
tfid
(required): the id of thetargetformat-object
A targetFormat-object
object
curl "https://uforge.example.com/api/orgs/{oid}/targetformats/{tfid}" -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):
<targetFormat xmlns:ns0="http://www.usharesoft.com/uforge">
<name>{name-targetFormat}</name>
<format>
<name>{name-format}</name>
</format>
<category>
<name>{name-targetFormatCategory}</name>
</category>
<type>cloud</type>
<credAccountType>openstack</credAccountType>
</targetFormat>
imageformat-object
primitiveFormat-getAll
primitiveFormat-update
targetFormatLogo-delete
targetFormatLogo-download
targetFormatLogo-downloadFile
targetFormatLogo-upload
targetFormat-create
targetFormat-delete
targetFormat-get
targetFormat-getAll
targetFormat-getAllTargetPlatforms
targetFormat-updateAccess
targetformat-object
targetplatform-api-resources
targetplatform-object