def delete_assistant(
    assistant_id: Union[int, str],
    *,
    api_key: Optional[str] = None,
) -> Dict[str, Any]:

source code

Delete an assistant by id. Returns the API response JSON.