deleteTrustStore method

Future<void> deleteTrustStore({
  1. required String id,
  2. required String ifMatch,
})

Deletes a trust store.

May throw AccessDenied. May throw CannotDeleteEntityWhileInUse. May throw EntityNotFound. May throw InvalidArgument. May throw InvalidIfMatchVersion. May throw PreconditionFailed.

Parameter id : The trust store's ID.

Parameter ifMatch : The current version (ETag value) of the trust store you are deleting.

Implementation

Future<void> deleteTrustStore({
  required String id,
  required String ifMatch,
}) async {
  final headers = <String, String>{
    'If-Match': ifMatch.toString(),
  };
  await _protocol.send(
    method: 'DELETE',
    requestUri: '/2020-05-31/trust-store/${Uri.encodeComponent(id)}',
    headers: headers,
    exceptionFnMap: _exceptionFns,
  );
}