Docs
Update Content Block
PUT /surfaces/{surfaceId}/contentBlocks/{contentBlockId}
PUT
/surfaces/{surfaceId}/contentBlocks/{contentBlockId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Updates the content item and/or time window for an existing content block on a surface.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| surfaceId | Guid | Required | The ID of the surface. Replace `{{surfaceId}}` in the URL. |
| contentBlockId | Guid | Required | The ID of the content block to update. Replace `{{contentBlockId}}` in the URL. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| contentId | Guid | Required | ID of the content item to assign (can be the same or a replacement). |
| startTime | DateTime | Required | Updated start time (ISO 8601). |
| endTime | DateTime | Required | Updated end time (ISO 8601). |
Response
Returns 200 OK with an empty body on success.