Skip to main content

List Lifecycle Rules

GET/api/v1/storage/bucket_lifecycle/{bucket_name}/

Path parameters

  • bucket_namePathstringrequired

    Bucket Name

Query parameters

  • project_idQueryintegerrequired
  • locationQuerystringrequired

    Deployment region for the resource. Accepted values: Delhi, Chennai.

    Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.

Responses

200Successfully fetched lifecycle rules for the bucket
object
codeinteger
example200
dataarray
errorsobject
messagestring
exampleSuccess
412Precondition Failed – Bucket does not exist in the project
object
codeinteger
example412
dataobject
errorsstring
exampleNo Bucket with this name exist in this project.
messagestring
examplePrecondition Failed