Secret.Item.prototype.delete

function delete(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for secret_item_delete()
}
  

Delete this item.

This method returns immediately and completes asynchronously. The secret service may prompt the user. Secret.Service.prototype.prompt will be used to handle any prompts that show up.

cancellable

optional cancellation object

callback

called when the operation completes