diff --git a/src/tomtom_api/client.py b/src/tomtom_api/client.py index 3e95476..1565ed6 100644 --- a/src/tomtom_api/client.py +++ b/src/tomtom_api/client.py @@ -422,7 +422,7 @@ def delete_job(self, job: Union[SubmittedTomtomJob, List[SubmittedTomtomJob]]): job_id = job if isinstance(job, int) else job.job_id - url = f"https://{self.base_url}/traffic/trafficstats/reports/{job_id}/?key={self.key}" + url = f"https://{self.base_url}/traffic/trafficstats/reports/{job_id}?key={self.key}" response = self.request("delete", url)