Update tags without overwriting the settings

Hi recently I tried to add/edit tags for services but I noticed without specifying the settings (e.g. checks or what not) but just serviceName and Tags would cause the whole service’s settings to be reset to default is there any way around this? Or is there some API that I could use to grep service settings so that I could just edit the tags and update it? Thank you