We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f55844 commit 1311a80Copy full SHA for 1311a80
apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts
@@ -261,9 +261,9 @@ export function useEngineDeleteCloudHosted() {
261
feedback,
262
}: DeleteCloudHostedInput) => {
263
const res = await fetch(
264
- `${THIRDWEB_API_HOST}/v2/engine/deployments/${deploymentId}/infrastructure`,
+ `${THIRDWEB_API_HOST}/v2/engine/deployments/${deploymentId}/infrastructure/delete`,
265
{
266
- method: "DELETE",
+ method: "POST",
267
headers: {
268
"Content-Type": "application/json",
269
},
0 commit comments