Delete network credentials

Use this API to delete a specific network setting.

Resource Information

Method

URL

Required authentication

DELETE

/V1/CMDB/NetworkSettings

Yes

Parameters

Name

Description

Token*required
(header)

Place the token received from the API Log in to get an authentication token.

Request*required
(body)

The body contains the following parameters:

privateKey (object): the private keys. Input the alias of the private key:

oalias* (string): the alias of the private key that you want to delete.

jumpBox (object): the jump box settings. Input the alias of the jump box:

oalias* (string): the alias of the jump box that you want to delete.

telnetInfo (object): the telnet/SSH login credentials. Input the alias of the telnet/SSH login credentials:

oalias* (string): the alias of telnet/SSH login credentials that you want to delete.

privilegeInfo (object): the privilege credentials. Input the alias of the privilege credentials:

oalias* (string): the alias of the privilege credentials that you want to delete.

snmpInfo (object): the SNMP credentials. Input the alias of the SNMP credentials:

oalias* (string): the alias of the SNMP credentials that you want to delete.

Example:

{
  "privateKey": {
    "alias""string"
  },
  "jumpBox": {
    "alias""string"
  },
  "telnetInfo": {
    "alias""string"
  },
  "privilegeInfo": {
    "alias""string"
  },
  "snmpInfo": {
    "alias""string"
  }
}

Response

Parameter

Type

Description

Example

statusCode

integer

The returned status code of executing the API.

{
  "statusCode"790200,
  "statusDescription""success"
}

statusDescription

string

The explanation of the status code.