Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 1.51 KB

org_create.rst

File metadata and controls

74 lines (53 loc) · 1.51 KB

org_create

POST /orgs

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats: application/xml application/json
  • Since: UForge 3.3

Creates a new organization.

Please refer to org-object for a complete list of all the organization attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_administrate

URI Parameters

None HTTP Request Body Parameters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A org-object object

Example Request

curl "https://uforge.example.com/api/orgs" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

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

<ns0:org xmlns:ns0="http://www.usharesoft.com/uforge">
    <name>Org Name Example</name>
</ns0:org>
  • distribprofile-object
  • license-object
  • org-object
  • orgCompany-getAll
  • orgLicense-download
  • orgLicense-getAll
  • orgMember-getAll
  • orgMember-getAll
  • orgMember-remove
  • orgMember-remove
  • orgMember-update
  • orgMember-update
  • orgOSWindows-add
  • orgOSWindows-getAll
  • orgOS-add
  • orgOS-getAll
  • orgOS-update
  • org-get
  • org-getAll
  • user-object