Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Create Password Group For User

PUT /object/user-password/{uid}

Creates password and group for a specific user.

uidValid user identifier to create a password for

Required Roles

Requires one of the following roles:

  • NAMESPACE_ADMIN

  • SYSTEM_ADMIN


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
user_password_create
password Password for the user String
groups_list List of ADMIN groups for the user String 0-* Elements
namespace Namespace of the object stores String

Response Body

Response indicating success or failure to create password group


Examples

Request
PUT https://192.168.0.0:4443/object/user-password/testlogin HTTP/1.1

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

<user_password_create>
   <password>password</password>
   <groups_list>admin</groups_list>
   <namespace>s3</namespace>
</user_password_create>
Response
HTTP/1.1 200 OK
Content-Type: application/xml