Method: AvaTax::Client::DataSources#delete_data_source
- Defined in:
- lib/avatax/client/datasources.rb
#delete_data_source(companyId, id) ⇒ ErrorDetail[]
Delete a datasource by datasource id for a company.
Marks the existing datasource for a company as deleted.
Security Policies
- This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
- This API depends on the following active services:Required (all): AvaTaxPro, BasicReturns. Swagger Name: AvaTaxClient
33 34 |
# File 'lib/avatax/client/datasources.rb', line 33 def delete_data_source(companyId, id) path = "/api/v2/companies/#{companyId}/datasources/#{id}" delete(path, {}, AvaTax::VERSION) end |