Skip to main content

CreateNewWorkspace

Create a new workspace

Description

  • Creates a new workspace
  • The creation of a new workspace must be authorized in advance by the administrator. Please check with your service provider for details.

Method

POST

Request URL Format

/api/v0/workspaces

Payload

Content-Type : application/json

{
"name": "ワークスペースの名前" //Required
}

Request URL Sample

POST https://api.xxx.com/api/v0/workspaces

Response Sample

{
w_id: "5d760ffc38c8950007b30680" // Newly created workspace ID
}

If the administrator's settings do not allow the creation of new files, or if the administrator does not have the authority to create new files, an error will occur.

  • 403 : "Not permitted in the current workspace" New workspace creation is not allowed.
  • 403 : "No privileges to create new workspace" To create a new workspace, you must be a workspace administrator.