Delete Bucket

gcs.delete_bucket
ActionGoogle Cloudconnection required

Calls the GCS JSON API DELETE /b/{bucket}.

Delete an empty Cloud Storage bucket.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Storage
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
bucket
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
bucket
Bucket name (overrides connection).
stringNo———
ignore_missing
Succeed when the bucket is already gone, so a re-run of the teardown converges instead of failing.
booleanNofalse——

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "ignore_missing": false
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
name
string—
deleted
False when the bucket was already gone.
boolean—
missing
True when ignore_missing swallowed a not-found.
boolean—
{
  "deleted": false,
  "missing": false,
  "name": "",
  "ok": false
}

Notes

  • The bucket must already be empty; GCS refuses to delete one that is not.

See Delete Bucket run in a workflow.

In a technical demo we add the Google Cloud Storage connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.