Dell Technologies ECS REST API

Search (SHIFT+S)




Get User Metadata

GET /object/user-cas/metadata/{namespace}/{uid}

Gets the CAS user metadata for the specified namespace and user identifier.

namespaceNamespace required to get metadata
uidUser identifier for which to get metadata

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • NAMESPACE_ADMIN


Prerequisites

The following conditions must be met in order to call this operation.

  • Namespace should exist

  • User identifier should exist


Response Body

CAS metadata for a specific namespace and user identifier

Field Description Type Notes
user_metadata
user_name Name of the CAS user String
metadata CAS metadata associated with the user Map

Examples

Request
GET https://192.168.0.0:4443/object/user-cas/metadata/s3/testlogin.xml 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_metadata>
    <metadata/>
    <user_name>testlogin</user_name>
</user_metadata>