Collections

Delete Collection

Delete a Collection given the Collection's ID.

post/rest/api/v1/deletecollection

Request

  • Base URL: https://instance-name-be.glean.com
  • URL: https://instance-name-be.glean.com/rest/api/v1/deletecollection
  • Auth: HTTP bearer

Query parameters

localestring

The client's preferred locale in rfc5646 format (e.g. en, ja, pt-BR). If omitted, the Accept-Language will be used. If not present or not supported, defaults to the closest match or en.

Headers

X-Glean-ActAsstring email

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

X-Glean-Auth-Typestring

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

Request body

idsinteger[] required

The IDs of the Collections to delete.

allowedDatasourcestring

The datasource allowed in the Collection to be deleted.

Response

OK

Changes

No recorded changes to this operation across all 139 revisions of this API.