v1
spaces
bearer
In: header
header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/v1/spaces" \ -H "Content-Type: application/json" \ -d '{ "name": "Room 101-A", "propertyId": "string", "spaceTypeId": "string" }'
ID of the property this space belongs to
ID of the room this space belongs to (null to unassign)
ID of the space type
Initial status of the space
"vacant"
"vacant" | "occupied" | "dirty" | "clean"