PUT /orgs/{oid}/distributions
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 3.3
Updates the operating systems available for an Organization. This can be to:
- enable or disable one or more operating systems available in the organization
- add or remove one or more operating systems as 'default' operating systems.
When an OS is flagged as 'default' then any new user created/added to the organization will be automatically given access to this operating systems.
..warning:: If you add an operating system as default
, all existing users will NOT automatically be given access to this operating system, you will need to do this explicitly for each user.
If an operating system has been flagged inactive
globally then this operating system will no longer be available for the organization.
- Requires Authentication:
true
- Entitlements Required:
org_os_administrate
oid
(required): the id of theorg-object
A distributions-object
object
curl "https://uforge.example.com/api/orgs/{oid}/distributions" -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>
<active>true</active>
<uri>distributions/1</uri>
<preselected>false</preselected>
<visible>true</visible>
</distribution>
</distributions>
</ns0:distributions>
distribution-object
license-object
org-object
orgCompany-getAll
orgMember-getAll
orgMember-remove
orgMember-update
orgOSWindows-add
orgOSWindows-delete
orgOSWindows-getAll
orgOS-add
orgOS-getAll
org-create
org-get
org-getAll
user-object