QiskitRuntimeService.delete_account¶
- static QiskitRuntimeService.delete_account(filename=None, name=None, channel=None)[source]¶
Delete a saved account from disk.
- Parameters:
filename (
Optional
[str
]) – Name of file from which to delete the account.name (
Optional
[str
]) – Name of the saved account to delete.channel (
Optional
[Literal
[‘ibm_cloud’, ‘ibm_quantum’]]) – Channel type of the default account to delete. Ignored if account name is provided.
- Return type:
bool
- Returns:
True if the account was deleted. False if no account was found.