Delete Collection

post/deletecollection

Delete a Collection given the Collection's ID.

SecurityBearerAuth
Request
header Parameters
X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

X-Scio-Actas
string <email>

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

Request Body schema: application/json
required

DeleteCollection request

ids
required
Array of integers

The IDs of the Collections to delete.

allowedDatasource
string

The datasource allowed in the Collection to be deleted.

Responses
200

OK

400

Invalid request

401

Not Authorized

422

Semantic error

429

Too Many Requests

Request samples
application/json
{
  • "ids": [
    • 0
    ],
  • "allowedDatasource": "string"
}
Response samples
application/json
{
  • "errorCode": "NAME_EXISTS"
}