Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Add User Tag

POST /object/users/{uid}/tags

Updates the tags provided tags for the specified user. Note that the operation will append tags with the new values

uidUser Name for the User Tags which are being added

Query Parameters

namespaceNamespace for the User Tags which are being added

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
> POST /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