Dell Technologies ECS REST API

Search (SHIFT+S)




Set Default Bucket

POST /object/user-cas/bucket/{namespace}/{uid}

Updates default bucket the specified namespace and user identifier.

namespaceNamespace required to update default bucket
uidValid user identifier to update default bucket

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • NAMESPACE_ADMIN


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
user_cas_bucket
name Name of the default bucket to be set String

Response Body

Response indicating Success or Failure to set default Bucket


Examples

Request
POST https://192.168.0.0:4443/object/user-cas/bucket/s3/wuser1@sanity.local HTTP/1.1 

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>

<user_cas_bucket>
   <name>standalone-bucket</name>
</user_cas_bucket>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml