Skip to main content
PATCH
Update closed spaces

Authorizations

Authorization
string
header
required

Access token issued by POST /sessions and associated with a valid server-side session.

Query Parameters

company_id
string<uuid>
required

Company UUID. Must equal the authenticated session company when that session has a company assigned; the equality check is skipped for sessions without one.

school_id
string<uuid>
required

School UUID. Must be assigned to the authenticated session.

Body

application/json

Update Closed Spaces Request.

closed_spaces
object[]
required
Minimum array length: 1

Response

Successful response.

Update Closed Spaces Response.

school_id
string
required

School id.

modified
integer
required