Skip to main content

profile_delete

Function profile_delete 

Source
pub async fn profile_delete(
    profile_id: ProfileId,
    store: State<'_, ProfileStoreHandle>,
    keychain: State<'_, KeychainHandle>,
) -> Result<(), AppError>
Expand description

Delete a manual profile and its associated keychain entry.

Returns AppError::NotFound when the profile does not exist in the manual set (discovered profiles cannot be deleted).