REST API  4.0.0
REST API for SafeNet Network HSMs
POST /api/lunasa/syslog/remoteHosts

POST /api/lunasa/syslog/remoteHosts

Creates a remote host entry.

Parameters

address

Specifies the address of the remote host. Valid ip address and hostname may be specified.

Use: Required

JSON Schema:

    Object
    type:string

port

Specifies the port of the remote host. Valid ports range from 0 to 65535.

Use: Required

JSON Schema:

    Object
    type:integer

protocol

Specifies the protocol of the remote host. Valid protocols include tcp and udp.

Use: Required

JSON Schema:

    Object
    type:string

Responses

200

Success

Location

"Location" is the URL to the location to the newly created remote host.

see GET /api/lunasa/remoteHosts/{remoteHostid}

400

Bad Request

Example Request

    POST
    https://1.2.3.4:8443/api/lunasa/syslog/remoteHosts
    {
        "protocol": "udp",
        "port": 1503, 
        "address": "1.2.3.4"
    }   

Example Response

{}