Update Template

Update a Liveblocks template room metadata.

Template ID format: {env}:v1:global:template:{uuid} Requires super user permissions.

Authentication

AuthorizationBearer

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

Path Parameters

template_idstringRequired

Request

This endpoint expects an object.
metadatamap from strings to any or nullOptional

Room metadata to update. Set a key to null to delete it (JsonValue includes None)

Response

Successful Response
template_idstring
The unique identifier for the template
created_atstringformat: "date-time"
Timestamp when the template was created
metadatamap from strings to any or null

Template metadata as key-value pairs

last_connection_atstring or nullformat: "date-time"
Timestamp of the last connection to the template

Errors