Dell Technologies ECS REST API

Search (SHIFT+S)




Delete Key For User

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

Deletes a specified secret key for a user. If the system user scope is NAMESPACE, the user's namespace must be supplied.

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_secret_key_delete
secret_key Identity of the secret key String
namespace User qualifier if the User Scope is NAMESPACE String

Response Body

Response indicating success or failure to delete secret key


Examples

Request
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>
Response
HTTP/1.1 200 OK
Content-Type: application/xml