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