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