Get Enterprise Only Tabs
const url = 'https://example.com/api/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/api/settings/enterprise-tabs/ \ --header 'Authorization: Bearer <token>'Return the canonical list of Settings tab keys that are enterprise-only.
Phase 279 ADMIN-03 (M-03): single source of truth for enterprise-only
Settings tabs. The frontend AdminSidebar uses this to conditionally render
the tabs in community vs enterprise editions. The backend
_require_enterprise_for_key gate uses the same set to 404 community
attempts at writing enterprise-tab settings — keeping these aligned
prevents silent UX drift.
Note: not gated by require_enterprise. Community callers must be able
to read the list to render their own sidebar correctly (the response tells
them which tabs to HIDE).
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Response for GET /settings/enterprise-tabs/.
Canonical enterprise-only Settings tab keys (Phase 279 / ADMIN-03 / M-03).
Read by the frontend AdminSidebar to decide which tabs to hide in
community editions. The backend _require_enterprise_for_key gate
consults the same source set, eliminating drift between the two
sources of truth.
object
Tab keys (e.g. ‘branding’, ‘appearance’) restricted to enterprise editions. Sorted alphabetically for stable client-side comparison.
Example generated
{ "tabs": [ "example" ]}Bad request — invalid query parameters or payload
object
Example
{ "type": "about:blank"}Unauthorized — missing or invalid credentials
object
Example
{ "type": "about:blank"}Forbidden — caller lacks access to this resource
object
Example
{ "type": "about:blank"}Not found
object
Example
{ "type": "about:blank"}Validation error
object
Example
{ "type": "about:blank"}Internal server error
object
Example
{ "type": "about:blank"}