Given a valid Merit Template ID and a valid Field ID, disable the Field Setting on the Merit Template. This will remove that field from the Merit Template, and all Merits that have been issued from that template.
The below warnings regarding disabling a Field Setting involve Field Activity Settings, which are currently only able to be configured in the Merit Org Portal when creating/editing a Merit Template. Field Activity Settings allow for a Merit to programmatically have its status changed based on specific field values.
Considerations:

  • Removing a field from a template that affects activity will make all inactive merits for that template active (or vice-versa) if no other fields affect those merits' activity.
  • Removing a field value that corresponds to a field that affects activity from an inactive merit will make the merit active (or vice-versa) if no other fields affect the merit’s activity.
  • Removing a universal field from a template that affects activity will make all inactive merits active (or vice-versa) if no other fields affect those merits' activity.

Error Codes

cannot_edit_access_merittemplate: You cannot make changes to an Access MeritTemplate
cannot_edit_field_settings: FieldSettings on archived or deleted MeritTemplates are not changeable

Language
Authentication
Header