SAP Sailing Analytics Webservices API

URL: /landscape/api/landscape/delete_ssh_key

Description:

Deletes an SSH key pair from a region. It is removed from the AWS key pair store as well as from the user's persistent key pair store.


Webservice Type: DELETE
Output format: json
Mandatory form parameters:
region, the ID of the region in which to create the key
key_name, name of the key; must be unique in the region within the AWS account
Request method: DELETE
Example:
           curl -d 'region=eu-west-2' -d 'key_name=Axel' \
            -H 'Authorization: Bearer mkCZcm02pjAeQRwBD1RkKo582joVMDTPsb0SXF8lSTc=' \
            -X DELETE https://security-service.sapsailing.com/landscape/api/landscape/delete_ssh_key

produces a 200 status code with output
            {
              "name": "Axel",
              "regionId": "eu-west-2",
              "creatorName": "admin",
              "creationTimeMillis": 1645439343022,
              "publicKey": "ssh-rsa AAAAB3NzaC1yc2EAABbBIwAAAIEAu+eA2345ox7s9yir93P8MQ8HRXah3tD739N4qjTa7ustnYfwOBxsVghke3CUT+6m66fgQijkG6Qd3Dt7IXR5Ja3wLIdFa/HCsvN4gtL6Q65o7/XyiPRc98Eaf937H+Cux+ieZsB+NoNFehdOyb2Ri7LhpKdPh3d7X9lhwbVIvEU= uhl@here"
            }
Back to Web Service Overview