-
Amazon S3
- S3 Bucket Acl Operations
- S3 Bucket Cors Operations
- S3 Bucket Is Stale Allowed Operations
- S3 Bucket Lifecycle Operation
- S3 Bucket List Uploads Operations
- S3 Bucket Location Operations
- S3 Bucket Operations
- S3 Bucket Versioning Operations
- S3 Bucket Versions Operations
- S3 Data Node Operation
- S3 Metadata Key List Operations
- S3 Metadata Key System List Operation
- S3 Metadata Search Operation
- S3 Multi Object Delete Operations
- S3 Object Acl Operations
- S3 Object Init Uploads Operations
- S3 Object Operations
- S3 Object Uploads Operations
- S3 Options Operations
- S3 Ping Operation
- EMC Atmos
- OpenStack SWIFT
- All Changes
-
Modified Services
- Data Store
- Password Group (Swift)
- S3 Bucket Acl Operations
- S3 Bucket Lifecycle Operation
- S3 Bucket Location Operations
- S3 Bucket Operations
- S3 Bucket Versioning Operations
- S3 Object Operations
- S3 Object Uploads Operations
- Secret Key
- Secret Key Self-Service
- Swift Account Operations
- Swift Container Operations
- Swift File Access Operations
- Swift Object Operations
- User (Object)

Update Bucket Owner
Updates the owner for the specified bucket.
bucketName | Name of the bucket for which owner will be updated |
Required Roles
SYSTEM_ADMIN
Prerequisites
The following conditions must be met in order to call this operation.
New owner is a valid user.
Bucket must exist.
Request Payload
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
<object_bucket_update_owner> | |||
<namespace> | Namespace that is allowed to access this bucket | String | |
<new_owner> | New owner of the bucket | String | |
<reset_previous_owners> | flag indicating if previous bucket owner list is to be reset | Boolean | |
</object_bucket_update_owner> |
Response Body
Response indicating Success or Failure of the operation
Examples
Request
POST https://192.168.0.0:4443/object/bucket/standalone-bucket/owner HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> <object_bucket_update_owner> <namespace>s3</namespace> <new_owner>testlogin</new_owner> </object_bucket_update_owner>
Response
HTTP/1.1 200 OK Content-Type: application/xml