API design: Add API endpoint to get manual enrollment profile (#16252) (#16255)

API changes for the "Add API endpoint to get manual enrollment profile"
story: #16252
This commit is contained in:
Noah Talerman 2024-02-05 18:35:44 -05:00 committed by GitHub
parent 98e825e434
commit c0f6e1f1cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4195,6 +4195,27 @@ Content-Type: application/octet-stream
If the response is `Status: 409 Conflict`, the body may include additional error details in the case
of duplicate payload display name or duplicate payload identifier (macOS profiles).
#### Get manual enrollment profile
Retrieves the manual enrollment profile for macOS hosts. Install this profile on macOS hosts to turn on MDM features manually.
`GET /api/v1/fleet/mdm/manual_enrollment_profile`
##### Example
`GET /api/v1/fleet/mdm/manual_enrollment_profile`
##### Default response
`Status: 200`
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!-- ... -->
</plist>
```
### List custom OS settings (configuration profiles)