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)
uid | User Name for the User Tags which are being modified |
namespace | Namespace for the User Tags which are being modified |
Requires one of the following roles:
SYSTEM_ADMIN
NAMESPACE_ADMIN
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 indicating Success or Failure to local user
> 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
< HTTP/1.1 200 OK