Dell Technologies ECS REST API

Search (SHIFT+S)




Modified since last release

Get Groups For User

GET /object/user-password/{uid}/{namespace}

Gets all user groups for a specified user identifier and namespace.

uidUser identifier from which to get all user groups
namespaceNamespace to which user belongs

Required Roles

Requires one of the following roles:

  • NAMESPACE_ADMIN

  • SYSTEM_ADMIN


Response Body

List of user group for specified user and namespace

Field Description Type Notes
user_groups
swift_password_configured Boolean
groups_list List of ADMIN group names. String 0-* Elements

Examples

Request
GET https://192.168.0.0:4443/object/user-secret-keys/wuser1@sanity.local/s3 HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<user_groups>
    <groups_list>admin</groups_list>
</user_groups>