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

Authorizations

x-pd-api-key
string
header
required

Headers

x-pd-external-trace-id
string

The trace ID you set in your system to trace this request. It can be up to 128 characters in length. If the request fails, you can provide it to the Powerdrill team to help with troubleshooting.

Path Parameters

id
string
required

The ID of the session you want to delete.

To check sessions you created, call GET /v2/team/sessions.

Body

application/json

Response

200 - application/json

The response is of type object.