Sorry, no results found for "".
Must be exactly "white_label_settings"
.
URL of custom I18n messages. The :locale placeholder represents the current DatoCMS UI locale.
"https://my-app-messages.netlify.app/:locale/message.json"
Returns a resource object of type white_label_settings.
PUT https://site-api.datocms.com/white-label-settings HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3Content-Type: application/vnd.api+json
{ "data": { "type": "white_label_settings" }}
curl -g 'https://site-api.datocms.com/white-label-settings' \ -X PUT \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3" \ -H "Content-Type: application/vnd.api+json" \ --data-binary '{"data":{"type":"white_label_settings"}}'
await fetch("https://site-api.datocms.com/white-label-settings", { method: "PUT", headers: { Authorization: "Bearer YOUR-API-TOKEN", Accept: "application/json", "X-Api-Version": "3", "Content-Type": "application/vnd.api+json", }, body: JSON.stringify({ data: { type: "white_label_settings" } }),});
HTTP/1.1 200 OKContent-Type: application/jsonCache-Control: cache-control: max-age=0, private, must-revalidateX-RateLimit-Limit: 30X-RateLimit-Remaining: 28
{ "data": { "type": "white_label_settings", "id": "312", "attributes": { "custom_i18n_messages_template_url": "https://my-app-messages.netlify.app/:locale/message.json" } }}