• Parameters

    • collectionId: string

      CollectionID (database/collection).

    • OptionalsuppressAuth: boolean

      A boolean value to bypass permissions.

    • Optionaloptions: CreateCollectionOptions

      Native options of MongoDB driver when deleting a collection. Read Here

    Returns Promise<boolean>

    Deletes a collection inside of a selected database. (User must have dropCollection permission inside MongoDB dashboard).