Skip to main content
DELETE
/
api
/
v1
/
collections
/
{collection_id}
Delete Collection
import requests

url = "https://www.datalab.to/api/v1/collections/{collection_id}"

headers = {"X-API-Key": "<api-key>"}

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

print(response.text)
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

collection_id
integer
required

Cookies

wos-session
string
access_token
string
datalab_active_team
string

Response

Successful Response