Skip to main content
Alpha: Document API is currently alpha and subject to breaking changes.

Summary

Enable or disable odd/even header-footer mode in document settings.
  • Operation ID: sections.setOddEvenHeadersFooters
  • API member path: editor.doc.sections.setOddEvenHeadersFooters(...)
  • Mutates document: yes
  • Idempotency: conditional
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a DocumentMutationResult receipt; reports NO_OP if the odd/even setting already matches.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE
  • INTERNAL_ERROR

Non-applied failure codes

  • NO_OP
  • CAPABILITY_UNAVAILABLE

Raw schemas