Snmp

Return list of traps

get

API Key Scope: traps / index

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Responses
get
/snmp/traps
200

List of trap.

Creates a new trap.

post

API Key Scope: traps / create

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Body
snmp_trap_idstringOptional
activationintegerOptional
versionstringOptional
managerstringOptional
communitystringOptional
severity_lowintegerOptional
severity_highintegerOptional
Responses
post
/snmp/traps

Displays a specific trap.

get

API Key Scope: traps / show

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
snmp_trap_idstringRequired

Numeric ID of snmp trap.

Responses
get
/snmp/traps/{snmp_trap_id}

Updates a specific trap with his relations.

put

API Key Scope: traps / update

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
snmp_trap_idstringRequired

Numeric ID of snmp trap.

Body
snmp_trap_idstringOptional
activationintegerOptional
versionstringOptional
managerstringOptional
communitystringOptional
severity_lowintegerOptional
severity_highintegerOptional
Responses
put
/snmp/traps/{snmp_trap_id}

Destroys a specific trap.

delete

API Key Scope: traps / destroy

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
snmp_trap_idstringRequired

Numeric ID of snmp trap.

Responses
delete
/snmp/traps/{snmp_trap_id}
204

trap destroyed.

No content

Return server configuration infos

get

API Key Scope: server_configuration / show

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Responses
get
/snmp/server_configuration

Updates server configuration infos.

put

API Key Scope: server_configuration / update

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Body
versionstringOptional
communitystringOptional
locationstringOptional
contactstringOptional
Responses
put
/snmp/server_configuration

Last updated

Was this helpful?