Delete the confidentiality level as follows.
select pgx_drop_confidential_level('matrix_foo', 'level1', false)
With a third argument, you can choose to delete those that depend on the specified confidentiality level. Of course, confidentiality objects registered with the confidentiality level are not deleted.