Skip to content

[REST API] Add documentation for enable_create_local_managed_account option#41578

Closed
kilo-code-bot[bot] wants to merge 6 commits intomainfrom
docs/37141-rest-api-enable-create-local-managed-account
Closed

[REST API] Add documentation for enable_create_local_managed_account option#41578
kilo-code-bot[bot] wants to merge 6 commits intomainfrom
docs/37141-rest-api-enable-create-local-managed-account

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot Bot commented Mar 12, 2026

Summary

  • Adds the new enable_create_local_managed_account boolean field to the REST API documentation for the managed local admin account feature on macOS hosts.
  • This field controls whether a managed local admin account is created on macOS hosts (Controls > OS settings > Passwords).

Related issue: #37141

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
GET /api/v1/fleet/teams/:id Response body JSON
PATCH /api/v1/fleet/teams/:id mdm.macos_settings parameter table, team response body JSON

Pattern followed

  • Global config: Field placed at the mdm top level (alongside enable_disk_encryption and windows_require_bitlocker_pin)
  • Team config: Field placed inside mdm.macos_settings parameter table (matching the existing enable_disk_encryption team-level pattern), and at mdm top level in response JSON

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 by Kilo for Slack

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)
@kilo-code-bot kilo-code-bot Bot requested a review from rachaelshaw as a code owner March 12, 2026 18:00
@melpike melpike marked this pull request as draft March 12, 2026 18:01
@melpike melpike marked this pull request as ready for review March 18, 2026 17:07
Comment thread docs/REST API/rest-api.md Outdated
Co-authored-by: Rachael Shaw <r@rachael.wtf>
fleet-release
fleet-release previously approved these changes Mar 19, 2026
rachaelshaw
rachaelshaw previously approved these changes Mar 19, 2026
@rachaelshaw rachaelshaw self-requested a review March 19, 2026 22:36
@rachaelshaw rachaelshaw dismissed stale reviews from fleet-release and themself March 19, 2026 22:37

Need to open PR to docs-v4.85.0

Copy link
Copy Markdown
Member

@rachaelshaw rachaelshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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 😆)

@kilo-code-bot
Copy link
Copy Markdown
Contributor Author

kilo-code-bot Bot commented Mar 20, 2026

Closing this PR as it targets main instead of the correct branch. A new PR with the same changes will be created targeting docs-v4.84.0.

@kilo-code-bot kilo-code-bot Bot closed this Mar 20, 2026
@melpike melpike deleted the docs/37141-rest-api-enable-create-local-managed-account branch March 20, 2026 14:13
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants