Editing an Existing Filter Group
You can add a filter to an existing filter group, change the values selected for a particular filter in the filter group, or delete a filter from the filter group.
Note
You can't modify filter groups when a language display preference is part of a subscription. If you need changes to filter groups, you must create a new subscription.
You can't modify filter groups when a language display preference is part of a subscription. If you need changes to filter groups, you must create a new subscription.
- Use the oci announce announcement-subscription update-filter-group command and required parameters to update an existing filter group in an announcement subscription:
oci announce announcement-subscription update-filter-group --announcement-subscription-id <announcementsubscription_OCID> --filter-group-name <filter_group_name> --filters <filter_JSON>
For example, to add a filter:oci announce announcement-subscription update-filter-group --announcement-subscription-id ocid1.announcementsubscription.<realm>.<region>.<unique_ID> --filter-group-name filtergroup1 --filters file://filters.json
Or, to update the values selected for a given filter:oci announce announcement-subscription update-filter-group --announcement-subscription-id ocid1.announcementsubscription.<realm>.<region>.<unique_ID> --filter-group-name filtergroup1 --filters file://filters.json
Or, to delete a filter from the filter group:oci announce announcement-subscription update-filter-group --announcement-subscription-id ocid1.announcementsubscription.<realm>.<region>.<unique_ID> --filter-group-name filtergroup1 --filters file://filters.json
For more information about filter group options, see FilterGroupDetails.
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateFilterGroup operation to update an existing filter group in an announcement subscription.