Skip to main content
DELETE
/
datasets
/
{dataset_id}
/
entries
/
{entry_id}
Delete Dataset Entry
import requests

url = "https://api.opper.ai/v2/datasets/{dataset_id}/entries/{entry_id}"

headers = {"Authorization": "Bearer <token>"}

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

print(response.text)
{
  "detail": "The request is invalid",
  "type": "BadRequestError",
  "message": "The request is invalid"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string<uuid>
required

The id of the dataset

entry_id
string<uuid>
required

The id of the entry to delete

Response

Successful Response