MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / deleteEnvVar

Method deleteEnvVar

packages/core/src/v3/apiClient/index.ts:397–406  ·  view source on GitHub ↗
(projectRef: string, slug: string, key: string)

Source from the content-addressed store, hash-verified

395 }
396
397 deleteEnvVar(projectRef: string, slug: string, key: string) {
398 return zodfetch(
399 EnvironmentVariableResponseBody,
400 `${this.baseUrl}/api/v1/projects/${projectRef}/envvars/${slug}/${key}`,
401 {
402 method: "DELETE",
403 headers: this.#getHeaders(false),
404 }
405 );
406 }
407
408 #getHeaders(spanParentAsLink: boolean) {
409 const headers: Record<string, string> = {

Callers 1

delFunction · 0.80

Calls 2

#getHeadersMethod · 0.95
zodfetchFunction · 0.90

Tested by

no test coverage detected