Update room

Full update: optional fields that are omitted are cleared. First retrieve the current room from /api/facilities/rooms/{id}, apply your changes, then send back the full object.

Required permission: Full Write Facilities

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the room

Body Params

The details of the room

string | null
required

The name of the room or item.

location
object | null
required

The campus the room or item belongs to. Only the id is used on writes.

approval
object | null
required

How bookings of the room or item are approved, and by whom.

fields
array of objects | null

Custom fields for this object

fields
string | null

The room or item's description.

boolean

Whether the room or item is active.

category
object | null

The room or item's category. Provide either the id or the code on writes.

int32 | null

How many people the room holds.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json