Sign in

Destroy all dispatches

documented

Revoke all dispatches for a device.

POST /api/v2/devices/{device_identifier}/dispatches/destroy_all.(xml|json)Dispatchesno implementation yet0 runs
No 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}}"}'
Destroy all dispatches · Device Magic · OpenIntegrations