Skip to content

Remove A Time Window From A Job

Request

Removes a time window from the job with the given id. The time_window_id is the ID of the time window within the job, as shown in the job's time_windows array.

Security
apiKey
Path
idstringrequired
time_window_idstringrequired
Query
api_keystringrequired
Headers
Accept-Encodingstringrequired

Must be gzip. The vWork API requires HTTP compression on all requests; requests without it may be rejected with 406 Not Acceptable (see Tech Notes → HTTP Compression).

Value:"gzip"
Example:gzip
DELETE
/v5/jobs/{id}/time_windows/{time_window_id}.xml
curl -i -X DELETE \
  'https://go.vworkapp.com/api/v5/jobs/{id}/time_windows/{time_window_id}.xml?api_key=string&api_key=YOUR_API_KEY_HERE' \
  -H 'Accept-Encoding: gzip'

Responses

OK

Headers
Statusstring
Example:"200 OK"
Cache-Controlstring
Example:"max-age=0, private, must-revalidate"
Content-Encodingstring
Example:"gzip"