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 '*', the global bid floor is not removed but reset to 0; the country bid floors stay. When a specific country code is provided, only that country's bid floor entry is removed. Requires UPDATE access to the site 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 the global bid floor to zero
US
Responses
200
Site bid floor deleted, or the global one reset to 0
400
Unknown country
401
Authentication error
403
Permission denied
404
Site, its bid floor, or the country's bid floor not found
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());