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
{
"deleted": true,
"id": "<string>"
}
Custom Runtimes
Delete a runtime
Deletes a runtime.
JavaScript
Copy
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);