Settings/SNMP Operations
PUTSNMP OperationsSince 4.7.21SynchronousAuth Required
StopSnmpAgent
StopSnmpAgent
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
stopsnmpagentObjectRequiredstopsnmpagent request body object.
uuidStringRequiredThe resource UUID.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/snmp/agent/actions
/zstack/v1/snmp/agent/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/snmp/agent/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"stopsnmpagent":{"uuid":"<uuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "b32ac27ffdd03e7ea7857d318d5cfdd8", "version": "v3", "userName": "zstack", "authAlgorithm": "SHA512", "authPassword": "auth_password", "privacyAlgorithm": "DES", "privacyPassword": "priv_password", "port": 161, "status": "Enable", "securityLevel": "authPriv" } }Change History
This API has no change history records yet.
