List restricted settings tabs
const url = 'https://example.com/settings/enterprise-tabs/';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/settings/enterprise-tabs/ \ --header 'Authorization: Bearer <token>'Return the canonical list of restricted Settings tab keys.
The frontend AdminSidebar uses this to avoid rendering tabs that the current runtime does not expose. The backend write gate uses the same set to reject writes to restricted settings, keeping UI and API behavior aligned.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Response for restricted Settings tab keys.
object
Tab keys (e.g. ‘branding’, ‘appearance’) restricted by the current runtime. Sorted alphabetically for stable client-side comparison.
Example generated
{ "tabs": [ "example" ]}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request