Learn R Programming

rsynthbio (version 4.1.0)

clear_synthesize_token: Clear Synthesize Bio API Token

Description

Clears the Synthesize Bio API token from the environment for the current R session. This is useful for security purposes when you've finished working with the API or when switching between different accounts.

Usage

clear_synthesize_token(remove_from_keyring = FALSE)

Value

Invisibly returns TRUE.

Arguments

remove_from_keyring

Logical, whether to also remove the token from the system keyring if it's stored there. Defaults to FALSE.

Examples

Run this code
if (FALSE) {
# Clear token from current session only
clear_synthesize_token()

# Clear token from both session and keyring
clear_synthesize_token(remove_from_keyring = TRUE)
}

Run the code above in your browser using DataLab