Docs

Update Content Block

PUT /surfaces/{surfaceId}/contentBlocks/{contentBlockId}

PUT/surfaces/{surfaceId}/contentBlocks/{contentBlockId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour 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

FieldTypeRequiredDescription
surfaceIdGuidRequiredThe ID of the surface. Replace `{{surfaceId}}` in the URL.
contentBlockIdGuidRequiredThe ID of the content block to update. Replace `{{contentBlockId}}` in the URL.

Request Body

FieldTypeRequiredDescription
contentIdGuidRequiredID of the content item to assign (can be the same or a replacement).
startTimeDateTimeRequiredUpdated start time (ISO 8601).
endTimeDateTimeRequiredUpdated end time (ISO 8601).

Response

Returns 200 OK with an empty body on success.