Remove columns from an experiment.
Authentication
- API key:
Authorization: Bearer <API key>
Path Parameters
The ID of the experiment to remove columns from.
Request Body
{
"columns": [
"074ca0b7b28c447996ad7447204b5910"
]
}
Examples
import requests
experiment_id = "experiment_id_123"
url = f"https://api.keywordsai.co/api/experiments/{experiment_id}/columns"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
data = {
"columns": [
"column_id_123"
]
}
response = requests.delete(url, headers=headers, json=data)
print(response.status_code)
Response