brows3r — TypeScript API
    Preparing search index...

    Function objectDeleteBatch

    • Delete a batch of objects from bucket.

      • Each entry in keys may carry an optional versionId to target a specific version (versioned buckets); omitting it inserts a delete marker.
      • The backend batches at most 1 000 keys per AWS DeleteObjects call internally — callers may pass any number of keys.
      • Per-key failures are returned in DeleteReport.failed rather than throwing. Check both arrays to determine what actually happened.

      On success the backend emits objects:updated { profileId, bucket, prefix } once per unique parent prefix of each successfully deleted key.

      Parameters

      • profileId: string

        The profile whose credentials to use.

      • bucket: string

        The bucket name.

      • keys: DeleteKey[]

        The keys (and optional version IDs) to delete.

      Returns Promise<DeleteReport>