Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Get User Tags With Namespace

GET /object/users/{uid}/tags

Gets the user tags for the specified user belonging to the specified namespace.

uidUser name for which user tags should be returned

Query Parameters

namespaceNamespace to which user belongs

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR

  • NAMESPACE_ADMIN


Response Body

The user tags for the specified user

Field Description Type Notes
object_user_tag
user_name User name String
tags Gets the tags associated with this user. Required.
tag     0-* Elements
name The name of a tag String
value The value of a tag String

XML Example

Request
> GET /object/users/usr/tags HTTP/1.1
> Host: 192.168.0.0:4443
> User-Agent: curl/7.43.0
> Accept: */*
> X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
> Content-Type: application/xml
>
Response
< HTTP/1.1 200 OK