There was an error while loading. Please reload this page.
1 parent 5532d41 commit 6d44278Copy full SHA for 6d44278
1 file changed
lib/api/repeater.ts
@@ -32,4 +32,17 @@ export default class {
32
method: 'GET'
33
});
34
}
35
+
36
+ /**
37
+ * Delete a repeater by UID
38
+ *
39
+ * {@link https://docs.tak.gov/api/takserver/redoc#tag/repeater-api/operation/remove TAK Server Docs}.
40
+ */
41
+ async delete(uid: string): Promise<void> {
42
+ const url = new URL(`/Marti/api/repeater/remove/${uid}`, this.api.url);
43
44
+ await this.api.fetch(url, {
45
+ method: 'GET'
46
+ });
47
+ }
48
0 commit comments