## Delete Logpush job `logpush.jobs.delete(intjob_id, JobDeleteParams**kwargs) -> JobDeleteResponse` **delete** `/{accounts_or_zones}/{account_or_zone_id}/logpush/jobs/{job_id}` Deletes a Logpush job. ### Parameters - `job_id: int` Unique id of the job. - `account_id: Optional[str]` The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. - `zone_id: Optional[str]` The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. ### Returns - `class JobDeleteResponse: …` - `id: Optional[int]` Unique id of the job. ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) job = client.logpush.jobs.delete( job_id=1, account_id="account_id", ) print(job.id) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "id": 1 } } ```