For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
companyId or its companyDomainName.
This operation requires the following permissions:
company:delete
Mutation
Variables
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a company and unlink it from its customers, without deleting the customers themselves.
companyId or its companyDomainName.
This operation requires the following permissions:
company:deletemutation deleteCompany($input: DeleteCompanyInput!) {
deleteCompany(input: $input) {
company {
id
name
}
error {
message
type
code
fields {
field
message
type
}
}
}
}
{
"input": {
"companyIdentifier": {
"companyDomainName": "plain.com"
}
}
}
Was this page helpful?
