Changes only the fields in the body and keeps the others; macros, when sent, replace the whole map.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/upstream-macro-presets/{presetId}.do
Changes only the fields in the body and keeps the others; macros, when sent, replace the whole map. {"active": false} takes the preset off the list placements pick from, while placements that already use it keep their tags. A built-in preset keeps its code. Tags generated after the change carry the new macros; tags already handed to an upstream do not change. Requires the UPSTREAM_MACRO_PRESETS admin permission (Admin → Creatives & tags → Upstream macro presets).
Path Params
presetIdstringrequired
Preset id or code
SPRINGSERVE
Body
A JSON body. An example, built from the field definitions:
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/upstream-macro-presets/SPRINGSERVE.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
request.Content = new StringContent("{\"code\":\"ACME_SSAI\",\"name\":\"Acme SSAI\",\"source\":\"https://docs.acme.tv/ssai/macros\",\"asOf\":\"2026-11-04\"}", Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());