Delete Job Attachment
From MyMobileWorkers API
Summary
| Delete Job Attachments | ||
|---|---|---|
| URL | http://:base_url/:api_path/:version/job/attachments/attachment | |
| Type | DELETE | |
| Params: | api_key | required |
| job_number | required | |
| file | required | |
| Response | JSON | |
Uses a HTTP Delete
{"failed":[],"successful":[{"job_number":"CG44710_45817"}]}
Example curl request
curl -X DELETE "http://api.mymobileworkers.com:8080/api/1/jobs/job/attachments/attachment?api_key=demo&job_number=CG44710_45817&file=fileToDelete.pdf"