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

source code

Delete a custom endpoint.

Arguments:

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

Returns:

A dictionary containing the response message.

Raises:

  • requests.HTTPError: If the API request fails.