disassociateWhatsAppBusinessAccount method

Future<void> disassociateWhatsAppBusinessAccount({
  1. required String id,
})

Disassociate a WhatsApp Business Account (WABA) from your Amazon Web Services account.

May throw DependencyException. May throw InvalidParametersException. May throw ResourceNotFoundException. May throw ThrottledRequestException.

Parameter id : The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted as waba-01234567890123456789012345678901. Use ListLinkedWhatsAppBusinessAccounts to list all WABAs and their details.

Implementation

Future<void> disassociateWhatsAppBusinessAccount({
  required String id,
}) async {
  final $query = <String, List<String>>{
    'id': [id],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/whatsapp/waba/disassociate',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
}