Changes for page Delete devices from Build-in Server
Last modified by Xiaoling on 2023/11/21 09:50
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,7 +8,6 @@ 8 8 = 1. Delete devices from built-in TTS = 9 9 10 10 11 -(% class="wikigeneratedid" %) 12 12 == Method 1: == 13 13 14 14 === 1.1 Upgrade LPS8v2's TTS to HTTPS === ... ... @@ -75,6 +75,38 @@ 75 75 [[image:1690794073644-821.png]] 76 76 77 77 77 +== Method 2:Delete devices through the API == 78 + 79 + 80 +=== 1.1 Generate API Keys === 81 + 82 +[[image:image-20231120163713-1.png||height="547" width="1060"]] 83 + 84 +[[image:image-20231120163955-2.png||height="545" width="1056"]] 85 + 86 +[[image:image-20231120164209-3.png||height="546" width="1058"]] 87 + 88 + 89 +=== 1.2 Delete End node === 90 + 91 +[[image:image-20231120164944-4.png||height="550" width="1067"]] 92 + 93 +For example, to delete the devices eui-5ce8824bad98531d in the applications 11111: 94 + 95 +Users need to access the Linux console of the gateway through SSH, and then enter the following command 96 + 97 +(% class="box infomessage" %) 98 +((( 99 +curl ~-~-location \ 100 + ~-~-header "Authorization: Bearer NNSXS.XXXXXXXXX" \ 101 + ~-~-request DELETE \ 102 + 'https:~/~/built-in_ttn_IP_Address:8080/api/v3/applications/{Application_ID}/devices/{device_id}' 103 +))) 104 + 105 +[[image:image-20231120165357-5.png]] 106 + 107 +When the command succeeds, the output {} is displayed. 108 + 78 78 = 2. Delete devices from built-in ChirpStack = 79 79 80 80
- image-20231120163713-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +90.6 KB - Content
- image-20231120163955-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +102.8 KB - Content
- image-20231120164209-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +129.4 KB - Content
- image-20231120164944-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +117.2 KB - Content
- image-20231120165357-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.7 KB - Content