Delete product

You can delete a product using the SDK. Here is an example of how to delete a product:

import { Keyforge } from 'keyforge-js';
 
const keyforge = new Keyforge('sk_1234');
 
await keyforge.products.delete('p_123456');

Deleting a product will also delete all licenses associated with it. This action cannot be undone.

Parameters

PropTypeDefault
id
string
-

On this page