Get instance configuration as TOML
GET
/api/v1/admin/config/toml
const url = 'https://example.com/api/v1/admin/config/toml';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/admin/config/toml \ --header 'Authorization: Bearer <token>'Returns the instance configuration as TOML. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/admin/config/toml. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typetext/plain
string