![]()  | 
  
    REST API
    4.0.0
    
   REST API for SafeNet Network HSMs 
   | 
 
Performs the specified action.
The identifier of the action to be performed
Use:  Required  
JSON Schema:  
Object type: string
Specifies the address to ping, accepts a valid ip or hostname
Use:  Required  
JSON Schema:  
    Object
    type:string
The time it took to ping in seconds.
Unexpected error
Invalid action.
 
   POST
   https://1.2.3.4:8443/api/lunasa/network/actions/ping
   
   {
        "address" : "1.2.3.5"
   }
Returns the transfer time of one packet in milliseconds. A time of 0 indicates the ping failed.  
{'access-control-allow-origin': '*', 'content-type': 'application/json', 'content-length': '712', 'access-control-allow-credentials': 'true'}
{
    "time" : 0.000607
}