Ssh Config Get Enterprise Proxy User Ssh Key

Ssh Config Get Enterprise Proxy User Ssh Key

Returns ssh keys based on params

Privileges required:

READ SELF_SSH_KEY, or

READ PARTNER_SSH_KEY

Request
URI
POST
https://{api_host}/portal/rest/sshConfig/getEnterpriseProxyUserSSHKey
COPY
Request Body

Show optional properties

{
    "enterpriseProxyId": 0
}
{
    "enterpriseProxyId": 0,
    "userIds": [
        0
    ],
    "allKeys": false
}
integer
enterpriseProxyId
Required

enterpriseProxyId

array of integer
userIds
Optional

userIds

boolean
allKeys
Optional

allKeys

Responses
200

Request was successfully processed

Returns Array of get_ssh_keys_object of type(s) application/json
[
    {
        "userName": "string",
        "duration": "string",
        "format": "string"
    }
]

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 '{"enterpriseProxyId:"integer"}' https://{api_host}/portal/rest/sshConfig/getEnterpriseProxyUserSSHKey