Wipe a device
Devices
Wipe a device
Wipe the device for the given device ID.
Supported platforms: macOS, iOS, Windows, Linux
Platform-specific behavior:
- Windows: Accepts optional
wipeTypeparameter:SOFT(default): Attempts to wipe the device once. If it fails, the device reboots to its initial state.HARD: Attempts to wipe the device repeatedly until successful.- ⚠️ Warning: If the wipe keeps failing, this can leave the device in an unusable state, requiring a reinstallation via USB key.
- macOS/iOS/Linux: Performs a full device erase. The
wipeTypeparameter is ignored.
Not supported: Android, Chrome OS
POST
Wipe a device
Key: Write Scope: CompanyDocumentation Index
Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Path Parameters
Body
application/json
Type of wipe to perform. Only applicable for Windows devices. SOFT resets the device but preserves user data, HARD performs a complete factory reset. Ignored for other platforms.
Available options:
SOFT, HARD Response
default - application/json
The platform of the wiped device
Available options:
ANDROID, IOS, MACOS, WINDOWS, LINUX, CHROME_OS, IPADOS, UNKNOWN A human-readable description of the wipe operation
The type of wipe that was performed. Only present for Windows devices (SOFT or HARD). Null for other platforms.
Available options:
SOFT, HARD