Ssh Config Revoke Operator User Ssh Key

Ssh Config Revoke Operator User Ssh Key

Revoke operator users SSH Keys based on params

Privileges required:

DELETE SELF_SSH_KEY, or

DELETE OPERATOR_SSH_KEY

Request
URI
POST
https://{api_host}/portal/rest/sshConfig/revokeOperatorUserSSHKey
COPY
Request Body
{
    "userId": [
        0
    ]
}
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 '[{}]' https://{api_host}/portal/rest/sshConfig/revokeOperatorUserSSHKey