import { Latitudesh } from "latitudesh-typescript-sdk";const latitudesh = new Latitudesh({ bearer: process.env["LATITUDESH_BEARER"] ?? "",});async function run() { await latitudesh.sshKeys.delete({ sshKeyId: "ssh_KXgRdRa3Ov9k5", });}run();
Copy
{ "meta": {}}
SSH Keys
Delete a SSH Key
Allows you remove SSH Keys in a project. Remove a SSH Key from the project won’t revoke the SSH Keys access for previously deploy and reinstall actions.
DELETE
/
ssh_keys
/
{ssh_key_id}
Typescript (SDK)
Copy
import { Latitudesh } from "latitudesh-typescript-sdk";const latitudesh = new Latitudesh({ bearer: process.env["LATITUDESH_BEARER"] ?? "",});async function run() { await latitudesh.sshKeys.delete({ sshKeyId: "ssh_KXgRdRa3Ov9k5", });}run();