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 | Cookie |
---|---|
2020 or later | LWSSO_COOKIE_KEY={LwssoCookie}; |
Earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie}; |
Request body:
DELETE: No request body.
Request example:
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: