Logo
Logo

2.2.10

PUT Object Legal Hold

  • Introduction
  • Zenko Installation
  • Zenko Operation
  • Zenko Reference
    • Introduction
    • Command Reference
    • API Reference
      • HTTP Conformity
      • Encryption
      • IAM Access Key Routes
      • CloudServer API
        • Common S3 Features
        • Access Controls
        • Bucket Operations
        • Object Operations
        • Backbeat
      • BlobServer API
      • Service Utilization API
      • Prometheus
    • Error Codes

Release: 2.2.10

PUT Object Legal Hold¶

Configures the specified object with a legal hold.

Request Syntax¶

PUT /<object-key>?legal-hold&versionId=<version-id> HTTP/1.1
Host: <bucket-name>.s3.example.com
Date: <Thu, 15 Nov 2016 00:17:21 GMT>
Authorization: <authorization-string>

URI Request Parameters¶

versionId

The version ID of the object version on which you will put a legal hold.

Request Body¶

For more information about the request elements that this operation uses, see ObjectLockLegalHold.

Example Request Body¶

<LegalHold>
   <Status>ON</Status>
</LegalHold>

Response Syntax¶

HTTP/1.1 200

Response Elements¶

On success, the service returns an HTTP 200 response.

On this page

  • PUT Object Legal Hold
    • Request Syntax
      • URI Request Parameters
      • Request Body
      • Example Request Body
    • Response Syntax
      • Response Elements
Logo
Scality, Inc. All rights reserved. | Support | Knowledge Base | Training | Privacy Policy
© Copyright 2021, Scality, Inc. Last updated on January 13, 2022.
linkedin twitter instagram facebook