Skip to content

Conversation

@cesnietor
Copy link
Collaborator

@cesnietor cesnietor commented Dec 11, 2020

This also deletes a bucket if it was created and an error occurred.
POST on api/v1/buckets:

{
  "name": "bucket1", 
  "versioning" : true,
  "retention" : {
    "mode": "governance",
    "unit": "days",
    "validity": 3
  }
}

Note: retention is optional and if retention is desired, versioning must be enabled.

This also deletes a bucket if it was created and an error occurred
@cesnietor cesnietor self-assigned this Dec 11, 2020
Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cesnietor cesnietor merged commit dd91c79 into minio:master Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants