Admin Appearance: Sections

Discard staged section edits

Changed on

Discard staged section edits

post/appearance/themes/{code}/sections/discard

Request

Path parameters

codestring required
Example:default

Theme code

Query parameters

channelinteger
Example:1

Channel ID (defaults to the current channel)

Request body

channelinteger

Example request

{
  "channel": 1
}

Response

Staged edits discarded.

Changes

    • breaking

      removed the media type text/html from the request body

    • breaking

      the request property became not nullable

    • warning

      removed the request property

    • info

      request body became optional

    • info

      endpoint added