Update a country allocation template
PUT/demand/accounts/{account_id}/business-units/{business_unit_id}/countries/{country_code}/allocation-templates/{template_id}
Updates a country-level allocation template identified by account, business unit, country, and template ID. Set is_default to true to make this template the default for its business unit and country, replacing any previous default. Setting it to false on the template that is currently the default clears the default without promoting another template, leaving the business unit and country with no default country allocation template.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 412
- 429
- 500
The country allocation template was updated successfully.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A requested resource isn't found.
The resource could not be modified because the ETag in the If-Match header does not match the current version. This means the resource was updated by another request after you retrieved it.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
The request was rate limited. Please retry after the specified delay.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
The number of seconds to wait before making a follow-up request.
A request failed due to an internal error.