Created
December 8, 2021 14:34
-
-
Save juusujanar/11cf6143a84ef082a8e5248041b286b8 to your computer and use it in GitHub Desktop.
Things Network CLI scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
applicationName=$1 | |
ttn-lw-cli end-devices list $applicationName | jq -r '.[].ids.device_id' | xargs -L1 -I'{}' ttn-lw-cli end-devices delete $applicationName {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment