No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Tools 2.0 uREST User Guide 16

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Deleting a Specified Session

Deleting a Specified Session

Function

Delete a specified session.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD delsession –I ID

Parameters

Parameter

Description

Value

HOST

IPv4 or IPv6 address or domain name of the server iBMC. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address, such as [1001::1001], must be enclosed in parentheses.

-

PORT

Port number. The default value is 443. It is an optional parameter.

If the actual port number is not 443, enter the actual port number.

USERNAME

iBMC administrator user name. It is a mandatory parameter.

-

PASSWORD

Password of the iBMC administrator. It is a mandatory parameter.

-

ID

ID of the session to be deleted. It is a mandatory parameter.

You can obtain the session ID by referring to Deleting a Specified Session.

Usage Guidelines

The interface is applicable to uREST V118 or later versions.

Example

Obtain help information.

linux-2hqw:~/Downloads/bin # ./urest -H 10.10.10.10 -U ****** -P ****** delsession –h
usage: urest delsession [-h] -I ID
 
optional arguments:
  -h, --help  show this help message and exit
  -I ID       specifies the session ID to be deleted

Delete a specified session.

linux-2hqw:~/Downloads/bin # ./urest -H 10.10.10.10 -U ****** -P ****** delsession –I bc3c4a26ab19b38d
Success: successfully completed request
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 120129

Downloads: 587

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next