API HTTP - Assign Label on Host Problem

Get all the labels on the host you want to modify, extend the “labels” dictionary and set all labels with one request.