Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > White-label settings

Update white-label settings

Body parameters

custom_i18n_messages_template_url null, string Optional

URL of custom I18n messages. The :locale placeholder represents the current DatoCMS UI locale.

Example: "https://my-app-messages.netlify.app/:locale/message.json"

Returns

Returns a resource object of type white_label_settings

Examples

import { buildClient } from "@datocms/cma-client-node";
async function run() {
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const whiteLabelSettings = await client.whiteLabelSettings.update({});
// Check the 'Returned output' tab for the result ☝️
console.log(whiteLabelSettings);
}
run();
{
id: "312",
custom_i18n_messages_template_url: "https://my-app-messages.netlify.app/:locale/message.json",
}