rotateChannelCredentials method
Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
May throw UnprocessableEntityException.
Parameter id :
The ID of the channel to update.
Implementation
Future<RotateChannelCredentialsResponse> rotateChannelCredentials({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'PUT',
requestUri: '/channels/${Uri.encodeComponent(id)}/credentials',
exceptionFnMap: _exceptionFns,
);
return RotateChannelCredentialsResponse.fromJson(response);
}