Skip to main content

Delete data collection

Endpoint: DELETE /data-collections/{data_collection_id}

Description Deletes the collection.

Parameters

  • Path: data_collection_id — integer.

Error responses

  • 401 — Authentication failed.
  • 404 — Collection not found.
  • 400 — DB integrity (e.g. cannot delete due to constraints).
  • 500 — Server error.

Responses

  • 204 — no response body.

Example response (204)

No response body is returned.

curl

curl -o /dev/null -w "%{http_code}\n" -X DELETE \
"https://api.aegisevals.ai/api/v1/data-collections/1" \
-H "Authorization: Bearer sk_00000000000000000000000000000000"