User CAS:Set User Metadata

Search (SHIFT+S)




New in this release

Set User Metadata

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

Updates the CAS registered applications for a specified namespace and user identifier.

namespaceNamespace for which 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 must exist

  • User identifier must exist


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
<user_metadata_param>
<metadata> CAS metadata to be set for the user Map
</user_metadata_param>

Response Body

Response indicating Success or Failure to set metadata


Examples

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

<user_metadata_param>
   <metadata>data</metadata>
</user_metadata_param>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml
Notes: