API/Jobs
Deletion
API endpoint for deleting an existing delivery job via an API key.
Note: This action is irreversible. Once a job is deleted, it cannot be recovered. Ensure you have the correct job_id
.
Endpoint
Deletes an existing job specified by its ID.
Authentification
This endpoint requires authentification via a custom API key header.
"Allw Job Deletion" permission must also be enabled in the Logis settings.
Request Body
This endpoint expects a JSON payload in the request body containg the ID of the job, as saved on Logis, to be deleted.
Field Descriptions
Field | Type | Required | Description |
---|---|---|---|
job_id | string | Yes | The UUID of the job to delete. |
Success Response
Error Responses
Status Code | Error Code / Reason | Description |
---|---|---|
400 Bad Request | Missing job_id | The job_id field was missing from the request body. |
401 Unauthorized | Missing LOGIS-API-KEY header | The required API key header was not included. |
403 Forbidden | Invalid/Inactive LOGIS-API-KEY | The provided API key is not valid or is inactive. |
403 Forbidden | Permission Denied (allow_job_deletion) | The API key used does not have permission to delete jobs. |
403 Forbidden | Insufficient Permissions | The user associated with the API key does not have permission to delete this specific job. |
404 Not Found | Job Not Found | No job exists with the provided job_id . |