.. function:: POST /orgs/{oid}/distributions
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
N/A
Registers a new operating system to an organization.
Please refer to :ref:`distribution-object` for a complete list of all the os
attributes.
- Requires Authentication:
true
- Entitlements Required:
org_os_administrate
oid
(required): the id of the :ref:`org-object`
A :ref:`distribution-object` object
curl "https://uforge.example.com/api/orgs/{oid}/distributions" -X POST \
-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):
.. seealso:: * :ref:`distribution-object` * :ref:`license-object` * :ref:`org-object` * :ref:`orgCompany-getAll` * :ref:`orgMember-getAll` * :ref:`orgMember-getAll` * :ref:`orgMember-remove` * :ref:`orgMember-remove` * :ref:`orgMember-update` * :ref:`orgMember-update` * :ref:`orgOSWindows-add` * :ref:`orgOSWindows-delete` * :ref:`orgOSWindows-getAll` * :ref:`orgOS-getAll` * :ref:`orgOS-update` * :ref:`org-create` * :ref:`org-get` * :ref:`org-getAll` * :ref:`user-object`