(
projectRef: string,
slug: string,
key: string,
body: UpdateEnvironmentVariableRequestBody
)
| 378 | } |
| 379 | |
| 380 | updateEnvVar( |
| 381 | projectRef: string, |
| 382 | slug: string, |
| 383 | key: string, |
| 384 | body: UpdateEnvironmentVariableRequestBody |
| 385 | ) { |
| 386 | return zodfetch( |
| 387 | EnvironmentVariableResponseBody, |
| 388 | `${this.baseUrl}/api/v1/projects/${projectRef}/envvars/${slug}/${key}`, |
| 389 | { |
| 390 | method: "PUT", |
| 391 | headers: this.#getHeaders(false), |
| 392 | body: JSON.stringify(body), |
| 393 | } |
| 394 | ); |
| 395 | } |
| 396 | |
| 397 | deleteEnvVar(projectRef: string, slug: string, key: string) { |
| 398 | return zodfetch( |
no test coverage detected