import Riza from '@riza-io/api';const client = new Riza({ apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted});const runtime = await client.runtimes.delete('id');console.log(runtime.id);
Copy
Ask AI
{ "deleted": true, "id": "<string>"}
Custom Runtimes
Delete a runtime
Deletes a runtime.
JavaScript
Copy
Ask AI
import Riza from '@riza-io/api';const client = new Riza({ apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted});const runtime = await client.runtimes.delete('id');console.log(runtime.id);