targetPlatform_update¶
-
PUT /orgs/{oid}/targetplatforms/{tpid}
Update the meta-data of a target platform.
Please refer to targetPlatform for a complete list of all the target platform
attributes.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
org_formats_administrate
URI Parameters¶
tpid
(required): the id of the targetPlatformoid
(required): the id of the org
HTTP Request Body Parameters¶
A targetPlatform object
Example Request¶
curl "https://uforge.example.com/api/orgs/{oid}/targetplatforms/{tpid}" -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):
<targetPlatform xmlns:ns0="http://www.usharesoft.com/uforge">
<name>{name-targetPlatform}</name>
<type>openstack</type>
</targetPlatform>
See also
- targetPlatformLogo_delete
- targetPlatformLogo_download
- targetPlatformLogo_downloadFile
- targetPlatformLogo_upload
- targetPlatform_addFormat
- targetPlatform_create
- targetPlatform_delete
- targetPlatform_get
- targetPlatform_getAll
- targetPlatform_getAllFormats
- targetPlatform_removeFormat
- targetPlatform_update
- targetPlatform_updateAccess
- Target Format API Resources
- targetFormat
- targetPlatform