DELETE
/
v2
/
team
/
sessions
/
{id}
curl --request DELETE \
  --url https://app.ai.relyt.cn/app/api/v2/team/sessions/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-pd-api-key: <api-key>' \
  --data '{
  "user_id": "tmm-dafasdfasdfasdf"
}'
{
  "code": 123,
  "data": {}
}

Authorizations

x-pd-api-key
string
header
required

Headers

x-pd-external-trace-id
string

您本地系统中设置的 Trace ID,至多支持 128 个字符。当请求发生错误时,可以将此 ID 提供给 Relyt AI 团队,协助进行故障排查。

Path Parameters

id
string
required

要删除的会话 ID。

如需查看项目中存在的会话,请调用 GET /v2/team/sessions 接口。

Body

application/json

Response

200 - application/json

The response is of type object.