Delete a timeslot
Available in versions: 12.56 and later
Description
Deletes a timeslot reservation (per the specified timeslot ID).
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/timeslots/{id}
Remarks
None
HTTP Method
DELETE: Deletes a timeslot reservation.
Request
Headers:
None
Cookies:
Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie}; |
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie}; |
Request Body:
DELETE: No request body.

DELETE http://<LRE_Server>/LoadTest/rest/domains/{domainName}/projects/{projectName}/timeslots/1026
Cookie: LWSSO_COOKIE_KEY={LwssoCookie};
Note: Closed timeslots cannot be deleted. Open timeslots can be aborted if you add a query string to the URL as in the example below:
DELETE /LoadTest/rest/domains/DEFAULT/projects/MyProject/timeslots/1026?operation=abort HTTP/1.1
Response
Headers:
None
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
Upon successful deletion, returns HTTP status 200 (OK).
HTML Body:
None
See Also
Create or get all timeslots
Check timeslots availability
Timeslot XML