hosts/{hostID}

Description

Gets or deletes a host by the specified hostID.

URL

/LoadTest/rest/domains/{domainName}/projects/{projectName}/hosts/{hostID}

Remarks

The host data can be passed as XML containing the equivalent data.

HTTP Method

GET: Returns the host information.

DELETE: Deletes the host.

Request

Headers:

Content-Type: application/xml

Cookies:

LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

GET: No request body.

DELETE: No request body.

An XML describing the host.

Response

Headers:

Content-Type: application/xml

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes

Upon successful deletion, returns HTTP status 200 (OK).

HTML Body:

GET: Returns the data on the entity in the response. See hosts XML

DELETE: No body returned.

See Also

hosts