Remove an existing account from the BlackBerry Hub.
#include "bb/pim/unified/unified_data_source.h"
int uds_account_removed(uds_context_t handle, uds_account_key_t accountId)
BlackBerry 10.2.0
The handle that's associated with your app's registration with the BlackBerry Hub.
The account key of the existing account to remove, as a uds_account_key_t.
This function removes an account that was added to the BlackBerry Hub using uds_account_added().
UDS_SUCCESS if the account was removed successfully, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.