Skip to main content

Summary

Change which principal is allowed to edit a permission range. Updates the principal fields on the start marker.
  • Operation ID: permissionRanges.updatePrincipal
  • API member path: editor.doc.permissionRanges.updatePrincipal(...)
  • Mutates document: yes
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a PermissionRangeMutationResult with the updated range info on success.

Input fields

Example request

Output fields

No fields.

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • None

Raw schemas