Share this page

# 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.

Request Example
Copy code

    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

Tips to improve your search results... LoadRunner Enterprise REST API Reference LRE REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)