diff --git a/repository/modules/clients.ts b/repository/modules/clients.ts
index af43b88..41d9388 100644
--- a/repository/modules/clients.ts
+++ b/repository/modules/clients.ts
@@ -3,6 +3,7 @@ import type {
ClientMetricsResponse,
ClientResponse,
ClientsResponse,
+ Client,
StoredTunnel, StoredTunnelResponse,
Tunnel, TunnelPayload,
TunnelResponse,
@@ -87,6 +88,17 @@ class ClientsModule extends HttpFactory {
undefined,
);
}
+
+ async updateTagsLabel(client: Client): Promise {
+ return await this.call(
+ 'PUT',
+ `${this.RESOURCE}/${client.id}/attributes`,
+ {
+ tags: client.tags,
+ labels: client.labels,
+ },
+ );
+ }
}
export default ClientsModule;