subscriptionProfileOS_update

PUT /orgs/{oid}/subscriptions/{spid}/distros

Updates the operating system access rights list in a subscription profile.

Any operating system listed in the subscription profile that is not specified in the new operating system list will be removed from the subscription profile.

Warning

The operating systems provided must be part of the organization’s operating system list and must be visible and active in the organization.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_administrate

URI Parameters

HTTP Request Body Parameters

A distributions object

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/subscriptions/{spid}/distros" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:distributions xmlns:ns0="http://www.usharesoft.com/uforge">
        <distributions>
                <distribution>
                        <uri>distributions/1</uri>
                </distribution>
        </distributions>
</ns0:distributions>