updateCompanyTeam mutation
Use the updateCompanyTeam
mutation to update the company team data.
This mutation requires a valid customer authentication token.
Syntax
Copied to your clipboardmutation {updateCompanyTeam(input: CompanyTeamUpdateInput!) {UpdateCompanyTeamOutput}}
Reference
The updateCompanyTeam
reference provides detailed information about the types and fields defined in this mutation.
Example usage
The following example updates the name and description of a company team.
Request:
Copied to your clipboardmutation {updateCompanyTeam(input: {name: "My Test Team"description: "My Test Team description"id: "MQ=="}) {team {idnamedescription}}}
Response:
Copied to your clipboard{"data": {"updateCompanyTeam": {"team": {"id": "MQ==","name": "My Test Team","description": "My Test Team description"}}}}