import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
await latitudesh.apiKeys.delete({
apiKeyId: "tok_lQraYDPeOpjwW",
});
}
run();{
"meta": {}
}Delete an existing API Key. Once deleted, the API Key can no longer be used to access the API.
import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
await latitudesh.apiKeys.delete({
apiKeyId: "tok_lQraYDPeOpjwW",
});
}
run();{
"meta": {}
}Was this page helpful?