No, codec configurations and other resources can't be edited. Therefore, you would have to create a new codec configuration and delete the previous one accordingly.
HINT: You can apply
Stream Conditions to a stream and its attached codec configuration, in order to either use or ignore a specific stream during the encoding process, if the condition is fulfilled based on the result of the input file analysis. This can be used to prevent upscaling or ignore certain streams and their audio codec configuration, if there is no audio track available in the input file. More details are available in our blog post here.
Bitmovin PHP API Client: Example
Bitmovin Go API Client: Example