deleteRouteRequestParameter method
Deletes a route request parameter.
May throw NotFoundException. May throw TooManyRequestsException.
Parameter apiId
:
The API identifier.
Parameter requestParameterKey
:
The route request parameter key.
Parameter routeId
:
The route ID.
Implementation
Future<void> deleteRouteRequestParameter({
required String apiId,
required String requestParameterKey,
required String routeId,
}) async {
ArgumentError.checkNotNull(apiId, 'apiId');
ArgumentError.checkNotNull(requestParameterKey, 'requestParameterKey');
ArgumentError.checkNotNull(routeId, 'routeId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v2/apis/${Uri.encodeComponent(apiId)}/routes/${Uri.encodeComponent(routeId)}/requestparameters/${Uri.encodeComponent(requestParameterKey)}',
exceptionFnMap: _exceptionFns,
);
}