API design: Create API endpoint to turn disk encryption for teams crossplatform (#18885)

Original PR: https://github.com/fleetdm/fleet/pull/16129

---------

Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
This commit is contained in:
Rachael Shaw
2024-05-09 13:57:38 -05:00
committed by GitHub
co-authored by Marko Lisica Noah Talerman
parent d1791518a4
commit db070837c8
+4 -2
View File
@@ -4999,9 +4999,11 @@ solely on the response status code returned by this endpoint.
### Update disk encryption enforcement
> `PATCH /api/v1/fleet/mdm/apple/settings` API endpoint is deprecated as of Fleet 4.45. It is maintained for backward compatibility. Please use the new API endpoint below. See old API endpoint docs [here](https://github.com/fleetdm/fleet/blob/main/docs/REST%20API/rest-api.md?plain=1#L4296C29-L4296C29).
_Available in Fleet Premium_
`PATCH /api/v1/fleet/mdm/apple/settings`
`POST /api/v1/fleet/disk_encryption`
#### Parameters
@@ -5012,7 +5014,7 @@ _Available in Fleet Premium_
#### Example
`PATCH /api/v1/fleet/mdm/apple/settings`
`POST /api/v1/fleet/disk_encryption`
##### Default response