Delete Lifecycle Rules
Remove the lifecycle configuration from a bucket you own.
| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/buckets/:bucketName/lifecycle | DELETE | No |
Removes every lifecycle rule from a bucket you own. Objects already deleted by a rule are not restored; the sweeps simply stop. Deleting the configuration of a bucket that has none succeeds as well.
Path Parameters
bucketName
string required
The name of the bucket.
Response
Returns 204 No Content on success.
Errors
| Status | Reason |
|---|---|
400 | Missing bucket name |
404 | Bucket not found (or not owned by you) |