Deletes a specified secret key for a user. If the system user scope is NAMESPACE, the user's namespace must be supplied.
uid | Valid user identifier to delete the key from |
Requires one of the following roles:
SYSTEM_ADMIN
NAMESPACE_ADMIN
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
user_secret_key_delete | |||
secret_key | Identity of the secret key | String | |
namespace | User qualifier if the User Scope is NAMESPACE | String |
Response indicating success or failure to delete secret key
POST https://192.168.0.0:4443/object/user-secret-keys/testlogin/deactivate HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> <?xml version="1.0" encoding="UTF-8"?> <user_secret_key_delete> <secret_key>R6JUtI6hK2rDxY2fKuaQ51OL2tfyoHjPp8xL2y3T</secret_key> <namespace>s3</namespace> </user_secret_key_delete>
HTTP/1.1 200 OK Content-Type: application/xml