deleteDataSource method
Deletes a DataSource object.
May throw BadRequestException.
May throw ConcurrentModificationException.
May throw InternalFailureException.
May throw NotFoundException.
May throw UnauthorizedException.
Parameter apiId :
The API ID.
Parameter name :
The name of the data source.
Implementation
Future<void> deleteDataSource({
required String apiId,
required String name,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/apis/${Uri.encodeComponent(apiId)}/datasources/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
}