Skip to main content

Apply Governance Lock (Bucket)

This API allows users to apply governance lock to a bucket.

POST/storage/buckets/{bucket_name}/lock/

Path parameters

  • bucket_namePathstringrequired

    Bucket Name

Query parameters

Request body

application/json

object
lock_modestringGOVERNANCE
exampleGOVERNANCE
retention_periodinteger
example3

Responses

200Successful retrieval of the bucket retention policy.
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleSuccess