targetFormat_update¶
-
PUT /orgs/{oid}/targetformats/{tfid}
Updates the information of a target format.
Please refer to targetFormat for a complete list of all the target format
attributes.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
org_formats_administrate
URI Parameters¶
oid
(required): the id of the orgtfid
(required): the id of the targetFormat
HTTP Request Body Parameters¶
A targetFormat object
Example Request¶
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>
See also
- imageFormat
- 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
- Target Platform API Resources
- targetPlatform