MCPcopy Create free account
hub / github.com/astercloud/aster / updateConfig

Method updateConfig

client-sdks/client-js/src/resources/system.ts:51–56  ·  view source on GitHub ↗
(key: string, value: any)

Source from the content-addressed store, hash-verified

49 }
50
51 async updateConfig(key: string, value: any): Promise<SystemConfig> {
52 return this.request<SystemConfig>(`/v1/system/config/${key}`, {
53 method: "PUT",
54 body: { value },
55 });
56 }
57
58 async deleteConfig(key: string): Promise<void> {
59 await this.request<void>(`/v1/system/config/${key}`, {

Callers 2

client.test.tsFile · 0.45
mainFunction · 0.45

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected