Skip to main content
DELETE
/
api
/
scores
/
{score_id}
/
import requests

url = "https://api.keywordsai.co/api/scores/{score_id}/"
api_key = "YOUR_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.status_code)  # Should print 204 for successful deletion
// No response body is returned for successful deletions.
Deletes an evaluation score.
import requests

url = "https://api.keywordsai.co/api/scores/{score_id}/"
api_key = "YOUR_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.status_code)  # Should print 204 for successful deletion
// No response body is returned for successful deletions.
I