Skip to content

deleteAdminAppearanceSection ​

Removes a section and its content for every locale. Media the section uploaded is cleaned up with it.

The payload is a snapshot of the section as it was, so a client can confirm exactly what was removed.

Input fields ​

FieldTypeRequiredDescription
idIDYesSection IRI.

Payload fields ​

The deleted section's own fields, with message set.

Best practices ​

  • Do not select translations on the payload. The row is gone, so its connections come back empty; the scalars are the in-memory snapshot.
  • Deleting is immediate and is not a staged edit. createAdminAppearanceSectionDiscard does not bring it back — to take a section down reversibly, stage it off instead.

Permissions ​

Requires appearance.sections.delete.

Released under the MIT License.