Apply Governance Lock (Bucket)
This API allows users to apply governance lock to a bucket.
POST
/api/v1/storage/buckets/{bucket_name}/lock/Path parameters
bucket_namePathstringrequiredBucket Name
Query parameters
project_idQueryintegerrequiredProject ID Find your project id here
locationQuerystringrequiredDeployment region for the resource. Accepted values:
Delhi,Chennai.Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.
Request body
application/json
example
GOVERNANCEexample
3Responses
200Successful retrieval of the bucket retention policy.
example
200example
Success