Cloud Storage JSON API (storage:v1)

2026-02-10

1 new method

Additions

    Methods
  • storage.folders.deleteRecursive

      Path : b/{bucket}/folders/{folder}/deleteRecursive

      HTTP Method : POST

      Description : Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.

      Parameters :

        bucket

          Type : string

          Description : Name of the bucket in which the folder resides.

          Required : Yes

          Location : path

        folder

          Type : string

          Description : Name of a folder.

          Required : Yes

          Location : path

        ifMetagenerationMatch

          Type : string

          Description : If set, only deletes the folder if its metageneration matches this value.

          Format : int64

          Location : query

        ifMetagenerationNotMatch

          Type : string

          Description : If set, only deletes the folder if its metageneration does not match this value.

          Format : int64

          Location : query

      Parameter Order :

    • bucket
    • folder
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/devstorage.full_control
    • https://www.googleapis.com/auth/devstorage.read_write