Drops the banner's own weight on the placement, so the banner weight applies there again. Requires UPDATE on the banner's advertiser and the MANAGE_PLACEMENT_WEIGHTS and MANAGE_BANNER_WEIGHT permissions. Answers {success, bannerId, placementId, weight: null, effectiveWeight}.
Path Params
bannerIdintegerrequired
Unique identifier of the banner
42
placementIdintegerrequired
Placement the banner is linked to
3001
Responses
200
The override was removed (or there was none)
400
Bad request — invalid or missing parameters
401
Authentication error
403
Insufficient permissions, naming the missing one
404
The banner does not exist, or the placement is not linked to it
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://YOUR-NETWORK-DOMAIN/rest-api/banners/42/placements/3001/weight.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());