Destroy all dispatches
documentedRevoke all dispatches for a device.
POST /api/v2/devices/{device_identifier}/dispatches/destroy_all.(xml|json)Dispatchesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.devicemagic.com/organizations/{{$organization_id}}/devices/{{$device_identifier}}/dispatches/destroy_all.{{$response_format}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"destroy_all": "{{$confirm_destroy}}", "notes": "{{$notes}}"}'