Ssh Config Revoke Enterprise Proxy User Ssh Key

Ssh Config Revoke Enterprise Proxy User Ssh Key

Revoke enterprise proxy users SSH Keys based on params

Privileges required:

DELETE SELF_SSH_KEY, or

DELETE PARTNER_SSH_KEY

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

Show optional properties

{
    "enterpriseProxyId": 0
}
{
    "enterpriseProxyId": 0,
    "userId": [
        0
    ]
}
integer
enterpriseProxyId
Required

enterpriseProxyId

array of integer
userId
Optional

userId

Responses
200

Request was successfully processed

Returns revoke_ssh_keys of type(s) application/json
This response body class contains all of the following: Inlinerevoke_ssh_keys0
{
    "id": 123,
    "rows": 1
}

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/revokeEnterpriseProxyUserSSHKey