ADD SNMPV3 Configuration
Select
SaaS
Customer Managed
This operation is used to add an SNMPV3 configuration under control panel.
- application/json
Request Body required
- snmv3ConfigOperationType int32
snmv3Info object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- snmv3ConfigOperationType integer
snmv3Info object
{
"snmv3ConfigOperationType": 0,
"snmv3Info": {
"hostName": "string",
"privacyCredentials": true,
"privacyAlgorithm": 0,
"encryptAlgorithm": 0,
"userAccount": {
"password": "string",
"userName": "string"
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"host": {
"name": "test5",
"id": 35
}
}
POST /commserv/snmpv3configuration
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/SNMPV3Configuration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snmv3ConfigOperationType": 1,
"snmv3Info": {
"encryptAlgorithm": 0,
"hostName": "test5",
"privacyAlgorithm": 0,
"privacyCredentials": false,
"userAccount": {
"password": "SamplePassword1@#",
"userName": "testadmin"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/SNMPV3Configuration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snmv3ConfigOperationType": 1,
"snmv3Info": {
"encryptAlgorithm": 0,
"hostName": "test5",
"privacyAlgorithm": 0,
"privacyCredentials": false,
"userAccount": {
"password": "SamplePassword1@#",
"userName": "testadmin"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/SNMPV3Configuration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snmv3ConfigOperationType": 1,
"snmv3Info": {
"encryptAlgorithm": 0,
"hostName": "test5",
"privacyAlgorithm": 0,
"privacyCredentials": false,
"userAccount": {
"password": "SamplePassword1@#",
"userName": "testadmin"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/SNMPV3Configuration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snmv3ConfigOperationType": 1,
"snmv3Info": {
"encryptAlgorithm": 0,
"hostName": "test5",
"privacyAlgorithm": 0,
"privacyCredentials": false,
"userAccount": {
"password": "SamplePassword1@#",
"userName": "testadmin"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/SNMPV3Configuration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snmv3ConfigOperationType": 1,
"snmv3Info": {
"encryptAlgorithm": 0,
"hostName": "test5",
"privacyAlgorithm": 0,
"privacyCredentials": false,
"userAccount": {
"password": "SamplePassword1@#",
"userName": "testadmin"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/SNMPV3Configuration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snmv3ConfigOperationType": 1,
"snmv3Info": {
"encryptAlgorithm": 0,
"hostName": "test5",
"privacyAlgorithm": 0,
"privacyCredentials": false,
"userAccount": {
"password": "SamplePassword1@#",
"userName": "testadmin"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/SNMPV3Configuration' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"snmv3ConfigOperationType": 1,
"snmv3Info": {
"encryptAlgorithm": 0,
"hostName": "test5",
"privacyAlgorithm": 0,
"privacyCredentials": false,
"userAccount": {
"password": "SamplePassword1@#",
"userName": "testadmin"
}
}
}'