Allocation Templates Admin

Assigns a default allocation template to an account

Assigns a default allocation template to an account. This endpoint uses the If-Match header for optimistic locking. To get the required ETag value, first make a request to the GET endpoint for this resource.

put/demand/accounts/{account_id}/allocation-template-association

Request

Headers

If-Matchstring etag required
Example:W/"1234"

The ETag value of the resource, used for optimistic locking.

Providing the ETag ensures you don't accidentally overwrite changes made by another request. You can get this value from the ETag header of a GET request for the resource.

Request body

template_idstring ulid required

A unique identifier for the template.

Example request

{
  "template_id": "01JT5Z59MAKQ82J5K9Y3YGFNHN"
}

Response

The allocation template was associated successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.