---
title: "DeleteExperiment"
method: DELETE
path: "/di/v2/experiment/{exp_id}"
tags: ["Experiment"]
---

# DeleteExperiment

`DELETE /di/v2/experiment/{exp_id}`

## Request

- Base URL: `https://di.prophecis.com`
- URL: `https://di.prophecis.com/di/v2/experiment/{exp_id}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-Watson-Authorization-Token`
  - API key in query parameter `watson-token`
- TypeScript: <https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2/docs/di/v2/experiment/:exp_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

根据实验ID删除对应的实验

## Path parameters

- `exp_id` string, required

## Response `200`

OK

## Other responses

- `401`: Unauthorized
- `404`: Model create failed

---

[API](https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2.md) - [All operations](https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2/revisions/ea40aedea89c?raw)
