v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Company Management

Delete company

Delete a company for the given id

delete/v6/company/{id}

Path parameters

idstring required

The id of the company

Request body

removeIntegrationsboolean

Whether to unsync the user's linked integrations with the respective API after the 30-day account restoration period passes. Defaults to true, which should only be changed if Tight's Partner's app is in charge of unlinking the user's integrations (e.g. if the Partner's app is managing Plaid access on its own).

Example request

{
  "removeIntegrations": true
}

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": {
    "id": "co_235823",
    "name": "ACME Corp",
    "apiCompanyId": "fake_company_123",
    "owners": [
      {
        "userId": "fake_userId",
        "email": "joe@tight.com",
        "firstName": "Joe",
        "lastName": "Perkins",
        "language": "EN"
      }
    ],
    "address": {
      "countryCode": "USA"
    },
    "accountingMethod": "ACCRUAL",
    "businessType": {
      "id": "bzt_123456",
      "name": "Electrician"
    },
    "availableFeatures": {
      "bankTransactions": true,
      "bills": true,
      "bookkeeping": true,
      "imports": true,
      "invoicing": true,
      "payroll": true,
      "reporting": true,
      "taxes": true,
      "timeTracking": true,
      "mileage": true
    },
    "status": "ACTIVE"
  }
}