Creates or updates CAS secret for a specified user.
uid | Valid user identifier to update a secret for |
Requires one of the following roles:
SYSTEM_ADMIN
NAMESPACE_ADMIN
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
user_cas_secret_param | |||
namespace | Namespace identifier to associate with the CAS secret | String | |
secret | Secret for the user | String |
Result with status of the operation
POST https://192.168.0.0:4443/object/user-cas/secret/wuser1@sanity.local HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> <user_cas_secret_param> <namespace>s3</namespace> <secret>secret</secret> </user_cas_secret_param>
HTTP/1.1 200 OK Content-Type: application/xml