This operation deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.
 Declaration Syntax
 Declaration Syntax| C# | 
public DeleteChapCredentialsResponse DeleteChapCredentials( DeleteChapCredentialsRequest deleteChapCredentialsRequest )
 Parameters
 Parameters- deleteChapCredentialsRequest (DeleteChapCredentialsRequest)
- Container for the necessary parameters to execute the DeleteChapCredentials service method on AmazonStorageGateway.
 Return Value
 Return ValueThe response from the DeleteChapCredentials service method, as returned by AmazonStorageGateway.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InternalServerErrorException | |
| InvalidGatewayRequestException |