subscriptionProfileTargetFormat_update

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

Updates the target formats access rights list in a subscription profile.

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

Warning

The target formats provided must be part of the organization 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 targetFormats object

Example Request

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

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

<ns0:targetFormats xmlns:ns0="http://www.usharesoft.com/uforge">
        <targetFormats>
                <targetFormat>
                        <uri>orgs/1/targetformats/1</uri>
                </targetFormat>
        </targetFormats>
</ns0:targetFormats>