post https://hub.xyte.io/core/v1/organization/spaces
Create a new space
Authorization
This endpoint requires Authorization.
Request
| Key | Type | Description | Required |
|---|---|---|---|
| name | string | Space name | Yes |
| parent_id | string | Parent space ID, defaults to Root space ID | No |
| config | string | Configuration | No |
Response
Some fields in the config field will only be returned if they are defined for the space.
| Key | Type | Description | |
|---|---|---|---|
| id | String | Space ID | |
| name | String | Space Name | |
| parent_id | String | ID of the space's parent | |
| config | object | ||
| priority_factor | String | Incident priority modifier: "-1", "0" or "1" | |
| temperature_units | String | Temperature units: "celsius" or "fahrenheit" | |
| img | String | Space image url | |
| location | Object | Location object | |
| inherit_location | Boolean | Inherit location from parent space | |
| inherit_priority_factor | Boolean | Inherit priority_factor from parent space | |
| inherit_temperature_units | Boolean | Inherit temperature_units from parent space |
