subscriptionProfileRoles_update¶
-
PUT /orgs/{oid}/subscriptions/{spid}/roles
Updates the roles in a subscription profile.
Any role listed in the subscription profile that is not specified in the new role list will be removed from the subscription profile.
Warning
The roles provided must be already created 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
Example Request¶
curl "https://uforge.example.com/api/orgs/{oid}/subscriptions/{spid}/roles" -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:roles xmlns:ns0="http://www.usharesoft.com/uforge">
<roles>
<role>
<name>role1</name>
</role>
</roles>
</ns0:roles>
See also
- subscriptionProfileAdmins_update
- subscriptionProfileOS_update
- subscriptionProfileQuotas_update
- subscriptionProfileTargetFormat_update
- subscriptionProfileTargetPlatform_update
- subscriptionProfile_create
- subscriptionProfile_get
- subscriptionProfile_getAll
- subscriptionProfile_remove
- subscriptionProfile_update
- subscriptionProfile