disablePortal method

Future<void> disablePortal({
  1. required String portalId,
})

Deletes the publication of a portal portal.

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

Parameter portalId : The portal identifier.

Implementation

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