You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Endpoint is Premium-gated and rejects unauthenticated / insufficiently-privileged requests consistently with the sibling custom-profile endpoints(meaning anyone who can fetch a custom-profile for any team should be able to fetch the default).
Integration tests cover both response cases (stored row, no row) and auth/permissions.
Related user story
#40905
Task
Implement the backend changes to update Fleet's default Apple automatic enrollment profile and expose it over the REST API.
getDefaultProfile()inserver/mdm/apple/apple_mdm.gofrom Update default Apple automatic enrollment profile #40832:IsSupervised: falseRegion: "US"AccessibilityfromSkipSetupItemsIntelligence,OSShowcase,SoftwareUpdate,UpdateCompleted, andWelcometoSkipSetupItemsGET /api/v1/fleet/enrollment_profiles/automatic/defaultas documented in [API/YAML] API docs for v4.86.0 automatic enrollment profile update #43782:GET /api/v1/fleet/enrollment_profiles/automatic{ "updated_at": <timestamp or null>, "enrollment_profile": { ... } }mdm_apple_enrollment_profilesrow exists, return the storeddep_profileJSON with the row'supdated_atgetDefaultProfile()values withupdated_at: nullCondition of satisfaction
getDefaultProfile()reflects the new defaults.GET /api/v1/fleet/enrollment_profiles/automatic/defaultreturns a 200 with the shape defined in PR [API/YAML] API docs for v4.86.0 automatic enrollment profile update #43782 in both the stored-row and no-row cases.