Backoffice API
  1. Blocks
Backoffice API
  • AdOps
  • Community
  • Core
  • Docs
  • Magazines
  • Publisher
    • Publications
      • Create Publication
      • Publication by id
      • Remove Publication by id
    • Blocks
      • Create Media Block HTML
        POST
      • Media Block by id
        GET
      • Update Media Block HTML by id
        PATCH
  • ReaderHub
    • Readers
      • Create Reader entitlement
  • Uploader
    • Upload Asset Image
      POST
  • Schemas
    • AdOps
      • Ad
      • Adversiter
      • Category
      • Creative
      • Adversiter (summary)
    • Community
      • Event
      • Event (summary)
      • Event Schedule
      • Organization
      • Organization (summary)
      • Person
      • Person (summary)
      • Project
      • Project (summary)
      • Profile
      • Profile (summary)
      • Profile Address
      • Profile Block
      • Profile Block (summary)
      • Profile BlockEntry
      • Profile BlockEntry (summary)
      • Profile Contact
      • Profile Description
    • Core
      • Visual
        • Image
        • Slideshow
        • Video
        • Visual Image
        • Visual Slideshow
        • Visual Video
        • Visual None
      • Asset
      • Category
      • Reference
      • Paging Metadata
      • Visual
    • Docs
      • Content
        • Content
        • Content (summary)
        • Content Metadata
        • Content Block
      • Blocks
        • Quote Block
        • Question Block
        • Data Block
        • HTML Block
        • Image Block
        • Related Content Block
        • Richtext Block
        • Slideshow Block
        • Video Block
      • ContentType
        • ContentType
        • ContentTemplate (summary)
        • ContentTemplate
    • Magazines
      • Issue
      • Section
      • Section Block
      • Section Block (summary)
      • Block Slot
      • SectionContent
    • Publisher
      • Publication
    • ReaderHub
      • Entitlement
  1. Blocks

Update Media Block HTML by id

PATCH
/blocks/{block_id}

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
API Key
Add parameter in query
x-api-key
Example:
x-api-key: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Invalid UUID
🟠400Bad Request
🟠401Unauthorized API KEY
🟠403Unauthorized roles
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://prod.your-api-server.com/api/publisher/v2/blocks/88b0d101-d64d-4505-bfe4-185d67c754c8' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "kind": "quote",
    "content_locale_id": "a46ac801-35e8-461a-93d4-9a3db7d6ae99",
    "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
    "quote_html": "string",
    "visual": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "type": "none",
        "image": null,
        "video": null,
        "slideshow": null
    }
}'
Response Response Example
200 - Example 1
{
    "data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "kind": "quote",
        "content_locale_id": "a46ac801-35e8-461a-93d4-9a3db7d6ae99",
        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
        "quote_html": "string",
        "visual": {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "type": "none",
            "image": null,
            "video": null,
            "slideshow": null
        },
        "position": 0
    }
}
Modified at 2025-09-19 13:08:01
Previous
Media Block by id
Next
Create Reader entitlement
Built with