21979: Extended wipe end-point to allow for doWipe Win CMD (#29770)
For #21979 Extended POST /api/v1/fleet/hosts/:id/wipe end-point to allow users to specify an optional payload for specifying what type of remote wipe to perform on Win hosts. --------- Co-authored-by: Rachael Shaw <r@rachael.wtf>
This commit is contained in:
co-authored by
Rachael Shaw
parent
ba154058ea
commit
d847ec8ed4
@@ -4455,9 +4455,10 @@ To wipe a macOS, iOS, iPadOS, or Windows host, the host must have MDM turned on.
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type | In | Description |
|
||||
| ---------- | ----------------- | ---- | ----------------------------------------------------------------------------- |
|
||||
| id | integer | path | **Required**. ID of the host to be wiped. |
|
||||
| Name | Type | In | Description |
|
||||
|----------| ----------------- | ---- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| id | integer | path | **Required**. ID of the host to be wiped. |
|
||||
| windows | object | body | Optional metadata used when wiping Windows hosts. The object includes a `wipe_type` property that can be used for specifying what type of remote wipe to perform. Allowed values are `"doWipe"` and `"doWipeProtected"`. |
|
||||
|
||||
#### Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user