s3keys delete

Deletes an access key and the associated secret key.

Syntax

CLI
maprcli s3keys delete	
 [ -cluster cluster_name ]
 [ -accesskey <access key> ]
REST http[s]://<host>:<port>/rest/s3keys/delete?<parameters>

Parameters

Parameter Description
cluster The cluster on which the access and secret keys were created. The default is the current cluster.
accesskey The key to delete.

Example

Delete the access key 2ZYLIHQYR0DXPDX8RGN3ET96RJNSIG1T5CFPR0AXUAX0Y2ZCA5SK7RRU3RHJ2ZW52OVVAINOAO5ONNFQCHVQIR2GS336OLUHKEE7KEY56GD.
CLI
maprcli s3keys delete -accesskey "2ZYLIHQYR0DXPDX8RGN3ET96RJNSIG1T5CFPR0AXUAX0Y2ZCA5SK7RRU3RHJ2ZW52OVVAINOAO5ONNFQCHVQIR2GS336OLUHKEE7KEY56GD"
  Removed                                                                         
  2ZYLIHQYR0DXPDX8RGN3ET96RJNSIG1T5CFPR0AXUAX0Y2ZCA5SK7RRU3RHJ2ZW52OVVAINOAO5ONNFQCHVQIR2GS336OLUHKEE7KEY56GD
REST
https://abc.sj.us:8443/rest/s3keys/delete?accesskey='2ZYLIHQYR0DXPDX8RGN3ET96RJNSIG1T5CFPR0AXUAX0Y2ZCA5SK7RRU3RHJ2ZW52OVVAINOAO5ONNFQCHVQIR2GS336OLUHKEE7KEY56GD'