deleteIntegration method
Deletes an Integration.
May throw NotFoundException. May throw TooManyRequestsException.
Parameter apiId
:
The API identifier.
Parameter integrationId
:
The integration ID.
Implementation
Future<void> deleteIntegration({
required String apiId,
required String integrationId,
}) async {
ArgumentError.checkNotNull(apiId, 'apiId');
ArgumentError.checkNotNull(integrationId, 'integrationId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v2/apis/${Uri.encodeComponent(apiId)}/integrations/${Uri.encodeComponent(integrationId)}',
exceptionFnMap: _exceptionFns,
);
}