Updates the owner for the specified bucket.
bucketName | Name of the bucket for which owner will be updated |
SYSTEM_ADMIN
The following conditions must be met in order to call this operation.
New owner is a valid user.
Bucket must exist.
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 |
Response indicating Success or Failure of the operation
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>
HTTP/1.1 200 OK Content-Type: application/xml