Jobs

Deletes a photo from a job.

Removes a Photo entry from the job's timeline and deletes its image. photoId is the id from GET /jobs/{id}/photos, the id of a Photo entry in the job's updates, or the id returned by POST /jobs/{id}/photos. Only photos can be deleted: signatures, notes and status changes are part of the job's record and answer 404. The removal syncs to every device running a current Flex version (older installs keep the entry until they update), and an internal note "Photo removed: …" attributed to the key's creator is added to the timeline. Needs ManageJobs. Not idempotent-keyed: deleting the same photo again answers 404. Example: curl -X DELETE https://app.flexonthejob.com/api/v1/jobs/42/photos/77 -H "Authorization: Bearer flx_live_…".

delete/api/v1/jobs/{id}/photos/{photoId}

Request

  • Base URL: https://app.flexonthejob.com
  • URL: https://app.flexonthejob.com/api/v1/jobs/{id}/photos/{photoId}
  • Auth: HTTP bearer

Path parameters

idinteger required

Job id, e.g. 42.

photoIdinteger required

Photo id, e.g. 77.

Response

Deleted.

Changes

No recorded changes to this operation across all 1 revision of this API.