Comment 1 for bug 1680377

Revision history for this message
HCLTech-SSW (hcltech-ssw) wrote :

As this can be done using the below set of commands:

a) Issue the GET request to get the authentication token for the admin user, using the following command.

curl -v -H 'X-Storage-User: admin:admin' -H 'X-Storage-Pass: admin' http://<ip address>:8080/auth/v1.0

Output is X-Auth-Token.

b) Issue the delete request for the specific account by passing the account storage URL.

curl -X DELETE -H 'X-Auth-Token: <Token from step a above>' http://<ip address>:8080/v1/AUTH_<Name of the account to be deleted.>

There is No Output from this command, but the account get deleted.

As there is the provision to delete the account using cURL, still there is the need to provide the method into the internal client library??