Delete Company
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"
}
}
}Last updated