Deletes the bid floor entry for the specified site and country combination.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/bid-floor/site/{siteId}/delete.do
Deletes the bid floor entry for the specified site and country combination. When the country parameter is '*', all country-specific bid floors for the site are reset to zero. When a specific country code is provided, only that country's bid floor entry is removed. Requires both ENABLED or READONLY level on INVENTORY permission and ENABLED level on BID_FLOOR_MANAGEMENT permission.
Path Params
siteIdintegerrequired
Unique numeric identifier of the site whose bid floor entry should be deleted
4001
Form Params
countrystringrequired
ISO alpha-2 country code (e.g., 'US', 'DE') of the bid floor to remove, or '*' to reset all country bid floors to zero
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://YOUR-NETWORK-DOMAIN/rest-api/bid-floor/site/4001/delete.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
request.Content = new FormUrlEncodedContent(new Dictionary<string, string> { ["country"] = "US" });
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());