---
title: "Update studio recommender block"
method: PUT
path: "/studio-recommender-blocks/{studioRecommenderBlockId}"
tags: ["StudioRecommenderBlock"]
---

# Update studio recommender block

`PUT /studio-recommender-blocks/{studioRecommenderBlockId}`

Update recommender block with given id

## Path parameters

- `studioRecommenderBlockId` integer, required

## Request body

- StudioRecommenderBlock
  - `code` string — Studio recommender block code that is associated with this recommender block
  - `createdById` integer — Account id to whom created this recommender block
  - `dateCreated` string, date-time — Date and time a record is created
  - `dateModified` string, date-time — Date and time a record is modified
  - `id` integer — The unique identifier of the given studio recommender block
  - `name` string — Studio recommender block name that is associated with this recommender block
  - `recommenderBlockId` integer — Recommender block id that is associated with this recommender block
  - `siteId` integer, required — The website id that an studio recommender block belongs to
  - `studioCss` string — Studio recommender block Css that is associated with this recommender block
  - `studioTemplate` string — Studio recommender block data that is associated with this recommender block

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/revisions/09f2abcea0b5/schema)
