Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Update User Tag

PUT /object/users/{uid}/tags

Updates the tags provided tags for the specified user. Note that the operation will over write the existing tags with the new values All the specified tags must be present in the User. If any one of the tags is missing in the User, this will throw appropriate Error code (TBD)

uidUser Name for the User Tags which are being modified

Query Parameters

namespaceNamespace for the User Tags which are being modified

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • NAMESPACE_ADMIN


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
user_update_param
tags Tags - List of user Tags
tag     0-* Elements
name The name of a tag String
value The value of a tag String

Response Body

Response indicating Success or Failure to local user


XML Example

Request
> PUT /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
> Content-Length: 145
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
Response
< HTTP/1.1 200 OK