From db070837c849ea0f1e32d1349f99e4e71fde977b Mon Sep 17 00:00:00 2001 From: Rachael Shaw Date: Thu, 9 May 2024 13:57:38 -0500 Subject: [PATCH] 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> --- docs/REST API/rest-api.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 3bf6c6f1bf..c8626104cf 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -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