The PUT /environments/{environmentId}/templates/{templateName}/contents/{contentId}
operation updates an existing customized content resource associated with the template specified in the request URL.
In addition, the variables restrictions should apply.