def METHOD_NAME(cfg: Config, name: str, force: bool):
    """Remove a decoration."""
    events = get_events(cfg)
    for i, dec in enumerate(events["decorations"]):
        if dec["name"] == name:
            if force or are_you_sure(
                "remove decoration: {}".format(
                    DECORATION_FORMAT.format(
                        dec["name"], str(dec["filter"]), dec["regex"], json.dumps(dec["decoration"])
                    )
                ),
                cfg,
            ):
                del events["decorations"][i]
                save_event_file(cfg, json.dumps(events))
            break