(projectRef: string, slug: string, key: string)
| 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> = { |
no test coverage detected