TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Company management Delete Company

Delete Company

On this page

GraphQL endpoint: /user

Deletes a company. Only users with a privileged connection to the company (owner, admin, or external admin) may delete it.

Query

mutation ($companyId: ID!) {
  deleteCompany(companyId: $companyId) {
    status
  }
}

Variables

{
  "companyId": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "deleteCompany": {
      "status": "OK"
    }
  }
}