deletePortalProductSharingPolicy method

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

Deletes the sharing policy for a portal product.

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

Parameter portalProductId : The portal product identifier.

Implementation

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