Delete Access Key
POST /iam?Action=DeleteAccessKey
Deletes the access key pair associated with the specified IAM user.
Query Parameters
AccessKeyId | The access key ID for the access key ID and secret access key you want to delete. |
UserName | Name of the user to delete accesskeys. |
Required Roles
This call has no restrictions.
Request Payload
No Request Payload
Response Body
Field |
Description |
Type |
Notes |
DeleteAccessKeyResponse |
|
|
|
ResponseMetadata |
|
|
|
RequestId |
|
String |
|
Examples
Request
POST https://192.168.0.0:4443/iam?UserName=tt1&&Action=DeleteAccessKey&AccessKeyId=AKIA681EB7D2520E6455
Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:DeleteAccessKeyResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:8b9d:c1</RequestId>
</ResponseMetadata>
</ns2:DeleteAccessKeyResponse>
Request
POST https://192.168.0.0:4443/iam?UserName=tt1&&Action=DeleteAccessKey&AccessKeyId=AKIA681EB7D2520E6455
Accept: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
{
"ResponseMetadata": {
"RequestId": "0af9f5b8:17178fe9282:8b9d:b1"
}
}
Request
curl -H $token -H "Content-Type: application/xml" -H "x-emc-namespace: <namespace>" -X POST https://$nodeIp:4443/iam?UserName=tt1&&Action=DeleteAccessKey&AccessKeyId=AKIA681EB7D2520E6455
Response
HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:DeleteAccessKeyResponse xmlns:ns2="none">
<ResponseMetadata>
<RequestId>0af9f5b8:17178fe9282:8b9d:c1</RequestId>
</ResponseMetadata>
</ns2:DeleteAccessKeyResponse>