def delete_custom_api_key(name: str, api_key: Optional[str] = None) -> Dict[str, str]:

source code

Delete a custom API key.

Arguments:

  • name - Name of the custom API key to delete.
  • api_key - If specified, unify API key to be used. Defaults

Returns:

A dictionary containing the response message if successful.

Raises:

  • requests.HTTPError: If the API request fails.
  • KeyError: If the API key is not found.