Service.deleteItemDbusPathSync

Delete a secret item from the secret service.

The item is represented by its D-Bus object path. If you already have a #SecretItem proxy objects, use use secret_item_delete_sync() instead.

This method may block indefinitely and should not be used in user interface threads.

class Service
bool
deleteItemDbusPathSync
(
string itemPath
,
Cancellable cancellable
)

Parameters

itemPath string

the D-Bus path of item to delete

cancellable Cancellable

optional cancellation object

Return Value

Type: bool

whether the deletion was successful or not

Throws

GException on failure.

Meta