data-src=../../../../../includes/commerce-only.md
deleteCompanyTeam mutation
Use the deleteCompanyTeam mutation to delete a company team by ID. You can get the team ID with the company query.
This mutation requires a valid customer authentication token.
Syntax
mutation {
deleteCompanyTeam(
id: ID!
) {
DeleteCompanyTeamOutput
}
}
Reference
The deleteCompanyTeam reference provides detailed information about the types and fields defined in this mutation.
Example usage
The following example deletes the specified team.
Request:
mutation {
deleteCompanyTeam(
id: "Mg=="
) {
success
}
}
Response:
{
"data": {
"deleteCompanyTeam": {
"success": true
}
}
}