Delete a timeslot

Available in versions: 12.56 and later

Description

Deletes a timeslot reservation (per the specified timeslot ID).

URL

Copy code
/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.

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