[REST API] Add documentation for enable_create_local_managed_account option#41578
Closed
kilo-code-bot[bot] wants to merge 6 commits intomainfrom
Closed
[REST API] Add documentation for enable_create_local_managed_account option#41578kilo-code-bot[bot] wants to merge 6 commits intomainfrom
kilo-code-bot[bot] wants to merge 6 commits intomainfrom
Conversation
Add the new enable_create_local_managed_account boolean field to the REST API docs for the managed local admin account feature on macOS hosts (#37141). Updated endpoints: - GET /api/v1/fleet/config (response body) - PATCH /api/v1/fleet/config (parameter table, example request, response body) - GET /api/v1/fleet/teams/:id (response body) - PATCH /api/v1/fleet/teams/:id (mdm.macos_settings parameter table) - Team response bodies (add users to team)
45 tasks
rachaelshaw
reviewed
Mar 18, 2026
Co-authored-by: Rachael Shaw <r@rachael.wtf>
fleet-release
previously approved these changes
Mar 19, 2026
rachaelshaw
previously approved these changes
Mar 19, 2026
Need to open PR to docs-v4.85.0
rachaelshaw
requested changes
Mar 19, 2026
Member
rachaelshaw
left a comment
There was a problem hiding this comment.
@melpike lgtm! Just need to move this PR to docs-v4.84.0. (I found that you need to ask Kilo to close the old PR and open a new one or it just changes the branch and there will all of a sudden be like 300 unrelated changes and the entire company requested for review 😆)
Contributor
Author
|
Closing this PR as it targets |
This was referenced Mar 20, 2026
melpike
pushed a commit
that referenced
this pull request
Mar 23, 2026
…option (#42148) ## Summary - Adds the new `enable_managed_local_account` and `end_user_local_account_type` fields to the REST API documentation for the managed local admin account feature on macOS hosts. - These fields control whether a managed local account is created on macOS hosts and the type of local end user account (Controls > OS settings > Passwords). **Related issue:** #37141 > **Note:** This PR replaces #42147, which was closed because it targeted `docs-v4.84.0` instead of `docs-v4.85.0`. The original changes came from #41578 (which targeted `main`). ### Endpoints updated | Endpoint | Section | |----------|---------| | `GET /api/v1/fleet/config` | Response body JSON | | `PATCH /api/v1/fleet/config` | Parameter table (`mdm`), example request body, response body JSON | ### Pattern followed - **Global config**: Fields placed at the `mdm` top level (alongside `enable_disk_encryption` and `windows_require_bitlocker_pin`) > **Note:** `GET/POST /api/v1/fleet/spec/teams` and `POST /api/v1/fleet/teams` (Create team) endpoints were not modified as they do not document these MDM settings fields in the existing REST API docs. --- Built for [Mel](https://fleetdm.slack.com/archives/D0AKX7DJFCN/p1774013459129099?thread_ts=1774012976.936879&cid=D0AKX7DJFCN) by [Kilo for Slack](https://kilo.ai/features/slack-integration) Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
enable_create_local_managed_accountboolean field to the REST API documentation for the managed local admin account feature on macOS hosts.Related issue: #37141
Endpoints updated
GET /api/v1/fleet/configPATCH /api/v1/fleet/configmdm), example request body, response body JSONGET /api/v1/fleet/teams/:idPATCH /api/v1/fleet/teams/:idmdm.macos_settingsparameter table, team response body JSONPattern followed
mdmtop level (alongsideenable_disk_encryptionandwindows_require_bitlocker_pin)mdm.macos_settingsparameter table (matching the existingenable_disk_encryptionteam-level pattern), and atmdmtop level in response JSONBuilt for Mel by Kilo for Slack