POST
/
v2
/
workspace
curl --request POST \
  --url https://api.sonderplan.com/v2/workspace \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 9458,
  "name": "Sydney Studio",
  "description": "Sydney Office, Level 2",
  "resources": [
    {
      "name": "Edit Suite 1",
      "description": "Sydney Office, Level 2",
      "type_id": 1,
      "type_person_id": 0,
      "parent_id": 2908,
      "parent_name": "Cameras",
      "icon": [
        {
          "name": "Avid_Icon",
          "size": 174285,
          "alias": "7e73ab25155974c230d09494548201b9f5056ef",
          "extension": "png",
          "mime_type": "image/png"
        }
      ]
    }
  ],
  "access": [
    {
      "id": 4,
      "acl": "RW",
      "name": "Administrators",
      "type": "group"
    }
  ],
  "feed": "<string>",
  "working_week": 3,
  "country_region": "AU-NSW",
  "show_public_holiday": true
}'
{
  "success": {
    "id": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Workspace object that needs to be added

Workspace model

Response

200
application/json

Successful Operation

The response is of type object.