Skip to content

Instantly share code, notes, and snippets.

View TailoredAccessOperations's full-sized avatar
💭
Italian-American Royalty who loves their mom and money

Pasquale Lapomarda IV TailoredAccessOperations

💭
Italian-American Royalty who loves their mom and money
View GitHub Profile
@TailoredAccessOperations
TailoredAccessOperations / index.js
Created June 1, 2023 13:30 — forked from PawanOsman/index.js
This Node.js file is designed to revoke multiple OpenAI API keys. It allows users to input a list of API keys and automatically revokes them using OpenAI's API. The file utilizes the Axios library to send HTTP requests to the OpenAI API and parses the response to determine if the revocation was successful.
import axios from 'axios';
let keys = [ // Example, replace it with your own keys
"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",
"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",
"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",
"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",
"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",
"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",
"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",