import requests
url = "https://api.keywordsai.co/prompts/<prompt_id>/versions/<prompt_version_id>/"
api_key = "YOUR_KEYWORDS_AI_API_KEY" # Replace with your actual Keywords AI API key
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
response = requests.delete(url, headers=headers)
print(response.json())
Was this page helpful?