CLOUD-39 PUT /stacks/{id} API call + validation