database

Delete database collection

Permanently delete an existing collection and all documents in it.

Required permission: database.manage.

delete/v1/projects/{project_id}/database/{environment_id}/collections/{name}

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

environment_id, string uuid required

Environment ID from GET /environments.

name, string required

Collection name.

Response

Successful Response

DatabaseDeleteCollectionResponse required
ok, true required

Always true.

name, string required

Name of the deleted collection.

Changes

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