Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Get Users For Namespace

GET /object/users/{namespace}

Gets all users for the specified namespace.

namespaceNamespace for which users should be returned

Query Parameters

limit

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Response Body

UsersList List of user information for the specific Namespace

Field Description Type Notes
users
blobuser     0-* Elements
userid Userid of the user URI
namespace Namespace associated with the corresponding user URI
MaxUsers Number of users requested. Integer
NextMarker Reference object to retrieve next set of objects. String
Filter filter used to get the objects. String
NextPageLink link to get the next page. String

Examples

Request
GET https://192.168.0.0:4443/object/users/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"?>
<users>
    <blobuser>
        <namespace>s3</namespace>
        <userid>testlogin</userid>
    </blobuser>
    <blobuser>
        <namespace>s3</namespace>
        <userid>wuser1@sanity.local</userid>
    </blobuser>
    <blobuser>
        <namespace>s3</namespace>
        <userid>wuser2@sanity.local</userid>
    </blobuser>
    <blobuser>
        <namespace>s3</namespace>
        <userid>wuser3@sanity.local</userid>
    </blobuser>
</users>