Skip to main content
DELETE
/
api
/
experiments
/
{experiment_id}
Delete experiment
curl --request DELETE \
  --url https://api.keywordsai.co/api/experiments/{experiment_id} \
  --header 'Authorization: Bearer <token>'
Delete an experiment.

Authentication

  • API key: Authorization: Bearer <API key>

Path Parameters

experiment_id
string
required
The ID of the experiment to delete.

Examples

import requests

experiment_id = "experiment_id_123"
url = f"https://api.keywordsai.co/api/experiments/{experiment_id}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY"
}

response = requests.delete(url, headers=headers)
print(response.status_code)

Response