Skip to main content

Rename & Delete

Manage an existing email generation job.

Rename — PATCH /jobs/{job_id}/update/​

Full URL: https://backend.ecoreservice.com/api/v1/email-generation/jobs/{job_id}/update/ Auth: Authorization: Bearer <JWT>

Body:

{ "list_name": "New name" }

Response payload:

{ "message": "Renamed successfully.", "list_name": "New name" }

Delete — DELETE /jobs/{job_id}/delete/​

Full URL: https://backend.ecoreservice.com/api/v1/email-generation/jobs/{job_id}/delete/ Auth: Authorization: Bearer <JWT>

Returns 204 No Content on success.

HTTPWhen
204Deleted
400The job is currently Processing and cannot be deleted
404Job not found / not owned by this account

See Error Codes for the full list.