subscriptionProfileFormat_update¶
-
PUT /orgs/{oid}/subscriptions/{spid}/formats
Updates the machine image formats access rights list in a subscription profile.
Any machine image format listed in the subscription profile that is not specified in the new formats list will be removed from the subscription profile.
Warning
The formats provided must be part of the organization’s formats list and must be visible and active in the organization.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
org_administrate
URI Parameters¶
oid
(required): the id of the orgspid
(required): the id of the subscriptionProfile
HTTP Request Body Parameters¶
A imageFormats object
Example Request¶
curl "https://uforge.example.com/api/orgs/{oid}/subscriptions/{spid}/formats" -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):
<ns0:imageFormats xmlns:ns0="http://www.usharesoft.com/uforge">
<imageFormats>
<imageFormat>
<uri>orgs/1/formats/1</uri>
</imageFormat>
</imageFormats>
</ns0:imageFormats>
See also
- subscriptionProfileOS_update
- subscriptionProfileQuotas_update
- subscriptionProfileRoles_update
- subscriptionProfileTargetFormat_update
- subscriptionProfileTargetPlatform_update
- subscriptionProfile_create
- subscriptionProfile_get
- subscriptionProfile_getAll
- subscriptionProfile_remove
- subscriptionProfile_update
- subscriptionProfile