Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Delete CAS Secret For User

POST /object/user-cas/secret/{uid}/deactivate

Deletes CAS secret for a specified user identifier.

uidValid user identifier to delete the key from

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_cas_secret_param
namespace Namespace identifier to associate with the CAS secret String
secret Secret for the user String

Response Body

Result with status of the operation


Examples

Request
POST https://192.168.0.0:4443/object/user-cas/secret/wuser1@sanity.local/deactivate 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>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml