Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Update Password Group For User

POST /object/user-password/{uid}

Updates password and group information for a specific user identifier.

uidValid user identifier for which to update password group

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_update
password Password for the user String
groups_list List of groups for the user String 0-* Elements
namespace Namespace associated with the user user as userId qualifier if the User Scope is NAMESPACE String

Response Body

Response indicating success or failure to update password group


Examples

Request
POST https://192.168.0.0:4443/object/user-password/wuser2@sanity.local HTTP/1.1

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

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