List allowed region or country codes.
OK
A collection of allowed region or country codes.
const response = await fetch('http://127.0.0.1:8888/api/allowed_country_codes', { method: 'GET', headers: {}, }); const data = await response.json();
{ "items": [ "text" ] }
Update allowed region or country codes.
const response = await fetch('http://127.0.0.1:8888/api/allowed_country_codes', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();