API referenceSections

PermissionRecord

PermissionRecord object
  • id string required
  • preset string required
  • changes array<PermissionChange> required
  • harden array<string> required
  • hidden array<string> required
  • created_at string (date-time) required
  • reverted_at string (date-time) | null optional

Used by

POST/api/v1/tenants/{tid}/sites/{id}/permissions/applyApply the previewed plan (409 PRESET_STALE if the site changed since)
POST/api/v1/tenants/{tid}/sites/{id}/permissions/undoPut back what the latest preset changed, where not changed again since