Skip to main content
PATCH
Update a child unit (BO)

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
name
string
Required string length: 1 - 150
description
string | null
Maximum string length: 1000
serialNumber
string | null
Required string length: 1 - 20
openedAt
unknown
accessInstructions
string | null
Maximum string length: 1000
activityTypes
enum<string>[]
Available options:
J,
L,
M,
N,
O,
P,
R,
S,
T,
U,
V,
W,
X,
Y,
PA,
CTS,
SG,
OA,
REF,
PS,
GHA,
GHO,
GHR,
GHS,
GHTC,
GHU,
GHW1,
GHW2,
GHZ,
ITGH
classifications
enum<string>[]
Available options:
erp,
ert,
igh,
icpe,
hab,
other
totalSurfaceArea
integer | null
Required range: 0 < x <= 9007199254740991
publicCapacity
integer | null
Required range: 0 <= x <= 9007199254740991
privateCapacity
integer | null
Required range: 0 <= x <= 9007199254740991
pinCodeRequired
boolean
pinCode
string
Pattern: ^\d{6}$
leafletDispatchedAt
unknown

Response

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$