deleteVoiceConnectorTerminationCredentials method
Deletes the specified SIP credentials used by your equipment to authenticate during call termination.
May throw BadRequestException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter usernames :
The RFC2617 compliant username associated with the SIP credentials, in
US-ASCII format.
Parameter voiceConnectorId :
The Voice Connector ID.
Implementation
Future<void> deleteVoiceConnectorTerminationCredentials({
required List<String> usernames,
required String voiceConnectorId,
}) async {
final $payload = <String, dynamic>{
'Usernames': usernames,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/termination/credentials?operation=delete',
exceptionFnMap: _exceptionFns,
);
}