POST /orgs/{oid}/workspaces
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.3.2
Creates a new workspace in an organization.
This request is similar to userWorkspace-create
Please refer to workspace-object
for a complete list of all the workspace
attributes.
- Requires Authentication:
true
- Entitlements Required:
workspace_create
oid
(required): the id of theorg-object
A workspace-object
object
curl "https://uforge.example.com/api/orgs/{oid}/workspaces" -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):
<ns0:workspace xmlns:ns0="http://www.usharesoft.com/uforge">
<name>Workspace Example</name>
</ns0:workspace>
userWorkspace-create
userWorkspace-getAll
workspace-object
workspace-delete
workspace-get
workspace-getAll
workspacecomments-api-resources
workspacemembers-api-resources
workspacetemplate-api-resources