Skip to main content
POST
POST /rest/work_areas — create a work area

Authorizations

Authorization
string
header
required

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Body

application/json
name
string
required
Maximum string length: 100
color
string | null
Maximum string length: 7
Pattern: ^#[0-9A-Fa-f]{6}$
unit_id
string<uuid> | null
sort_order
integer
Required range: x >= 0
is_active
boolean

Response

WorkAreaResource

data
WorkAreaResource · object
required