Skip to main content
Create a workspace
curl --request POST \
  --url https://api.acornops.dev/api/v1/workspaces \
  --header 'Content-Type: application/json' \
  --cookie acornops_cp_session= \
  --data '
{
  "name": "Production Platform"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "role": "<string>",
  "permissions": {},
  "currentUserRoleTemplate": {
    "key": "<string>",
    "displayName": "<string>",
    "capabilities": [
      "<string>"
    ],
    "protected": true,
    "sortOrder": 123,
    "description": "<string>"
  },
  "memberCount": 123,
  "clusterCount": 123,
  "virtualMachineCount": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.acornops.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

acornops_cp_session
string
cookie
required

Body

application/json
name
string
required
Example:

"Production Platform"

Response

Workspace created. Response includes plan.{key,name} and workspace quota.{members,kubernetesClusters,virtualMachines}.{used,limit}.

id
string<uuid>
required
name
string
required
role
string
required
permissions
object
required
currentUserRoleTemplate
object
memberCount
integer
clusterCount
integer
virtualMachineCount
integer
createdAt
string<date-time>
updatedAt
string<date-time>