[i18n] How to update an existing localized collection entry per REST API or GraphQL?

So, for now, I have to do it like this:

// 1) Update the "primary" entry
const response = await axios.put(`${API_URL}${game_id}`, requestBody, config);

// 2) Get all available localizations for the entry
const localizationResponse = await axios.get(`${API_URL}${game_id}?populate=localizations`, config);
const localizations = localizationResponse.data?.data?.attributes?.localizations.data || [];

// 3) Update the same fields for the localized version of entry
for (const localization of localizations) {
	const locale_game_id = localization.id;  // use localization.id as key
	await axios.put(`${API_URL}${locale_game_id}`, requestBody, config);
}

Of course it looks like “workaround” :face_vomiting: