POST
/
rest
/
api
/
v1
/
deletecollection
from glean import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

    g_client.client.collections.delete(ids=[
        930352,
        156719,
        25102,
    ])

    # Use the SDK ...
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

DeleteCollection request

The body is of type object.

Response

200

OK