Delete credential

Deletes an existing storage account credential.

Request

Security

Table 1. Roles capable of executing the deleteCredential API method
Any     Storage Account Admin
Super User     Container Admin  
System Admin     Elastic Device Provisioner  
Security Admin     Vault Provisioner  
Operator        

HTTP method

POST /manager/api/{apiResponseType}/1.0/deleteCredential.adm HTTP/1.1 Host:{manager.dsnet} id={string}storageAccountId={string}

Curl method


curl -u <USERNAME>:<PASSWORD>  
     -k  'https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/storageAccountPortal/deleteCredential.adm?id={string}&storageAccountId={string}' 

Parameters

Table 2. Request Parameters for deleteCredential API method
Parameter Type Usage Default Description
id String Required   The ID of the credential to delete.
storageAccountId String Required   The ID of the storage account.