setApiKey

fun setApiKey(key: String?)

Sets or clears the API key used for authentication.