deletePortalProduct method

Future<void> deletePortalProduct({
  1. required String portalProductId,
})

Deletes a portal product.

May throw AccessDeniedException. May throw BadRequestException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter portalProductId : The portal product identifier.

Implementation

Future<void> deletePortalProduct({
  required String portalProductId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v2/portalproducts/${Uri.encodeComponent(portalProductId)}',
    exceptionFnMap: _exceptionFns,
  );
}