MCPcopy Create free account
hub / github.com/lightdash/lightdash / updateEmbedConfig

Function updateEmbedConfig

packages/api-tests/tests/embedManagement.test.ts:39–49  ·  view source on GitHub ↗
(
    client: ApiClient,
    body: UpdateEmbed,
    options?: { failOnStatusCode?: boolean },
)

Source from the content-addressed store, hash-verified

37}
38
39async function updateEmbedConfig(
40 client: ApiClient,
41 body: UpdateEmbed,
42 options?: { failOnStatusCode?: boolean },
43) {
44 return client.patch<Body<unknown>>(
45 `${EMBED_API_PREFIX}/config`,
46 body,
47 options,
48 );
49}
50
51async function getEmbedUrl(
52 client: ApiClient,

Callers 1

Calls 1

patchMethod · 0.45

Tested by

no test coverage detected