Apply Legal hold (Object)
This API allows users to apply legal hold to an object.
POST
/api/v1/storage/buckets/{bucket_name}/legalhold/object/Path parameters
bucket_namePathstringrequiredBucket Name
Query parameters
object_nameQuerystringrequiredObject Name with Directory.
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.
version_idQuerystringrequiredVersion ID
Request body
application/json
example
object_nameexample
25273eed-1234-4bd2-96a1-a43a3aa44e43Responses
200Response indicating the legal hold status of the object or bucket
example
200example
Success