Retrieve details of tenant custom headers.
OK
Update tenant custom headers.
const response = await fetch('http://127.0.0.1:8888/api/tenant/custom_headers', { method: 'GET', headers: {}, }); const data = await response.json();
{ "add": [ { "name": "text", "value": "text", "scope": "ALL" } ], "relay": [ { "name": "text", "scope": "ALL" } ] }
const response = await fetch('http://127.0.0.1:8888/api/tenant/custom_headers', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();