mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
| .. | ||
| main.go | ||
| README.md | ||
Webhook
A tiny web server you can use as a webhook callback for the MDM migration end user workflow
This will try to find a device using the serial number and send an API call to unenroll it.
Usage
- Grab an API token from Kandji. Make sure it has access rights to list and unenroll devices.
- Grab your subdomain, for example if your URL is
https://foo.kandji.com, then grabfoo. - Start the webserver with:
go run tools/mdm/migration/kandji/main.go --subdomain=foo --api-token=ABC-DEF
- Configure Fleet to send a webhook to your web server.