custom_api_keys
rename_custom_api_key
Rename a custom API key.
Arguments:
name
- Name of the custom API key to be updated.new_name
- New name for the custom API key.api_key
- If specified, unify API key to be used. Defaults
Returns:
A dictionary containing the response information.
Raises:
requests.HTTPError
: If the API request fails.KeyError
: If the API key is not provided or found in environment variables.