Gateway Get Gateway Csr

Gateway Get Gateway Csr

Get most recently recorded gateway CSR

Privileges required:

READ OPERATOR_PKI

Request
URI
POST
https://{api_host}/portal/rest/pki/getGatewayCSR
COPY
Request Body
{
    "gatewayId": 0
}
integer
gatewayId
Required

gatewayId

Responses
200

Request was successfully processed

Returns gateway_get_gateway_csr_result of type(s) application/json
{
    "id": 0,
    "gatewayId": 0,
    "networkId": 0,
    "created": "string",
    "subjectKeyId": "string",
    "subjectCN": "string",
    "csr": "string"
}
integer
id
Required

id

integer
gatewayId
Required

gatewayId

integer
networkId
Required

networkId

string
created
Required

created

string
subjectKeyId
Required

subjectKeyId

string
subjectCN
Required

subjectCN

string
csr
Required

csr


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"gatewayId:"integer"}' https://{api_host}/portal/rest/pki/getGatewayCSR