Edit in GitHubLog an issue
B2B feature. Learn more
Thanks to Atwix for contributing this topic!

updateCompanyTeam mutation

Use the updateCompanyTeam mutation to update the company team data.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
mutation {
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 clipboard
mutation {
updateCompanyTeam(
input: {
name: "My Test Team"
description: "My Test Team description"
id: "MQ=="
}
) {
team {
id
name
description
}
}
}

Response:

Copied to your clipboard
{
"data": {
"updateCompanyTeam": {
"team": {
"id": "MQ==",
"name": "My Test Team",
"description": "My Test Team description"
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.