You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.4/graphql/mutations/create-company-team.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ b2b_only: true
8
8
9
9
Use the `createCompanyTeam` mutation to create a new team for your company.
10
10
11
+
The target_id input attribute allows you to specify which node in the company structure will be the parent node of the company team. If you do not specify a value, the team will be assigned to the top-level (root) node of the company structure.
12
+
13
+
You can get the `target_id` with the [`company`]({{page.baseurl}}/graphql/queries/company.html) query.
14
+
11
15
## Syntax
12
16
13
17
```graphql
@@ -110,8 +114,6 @@ Attribute | Data Type | Description
110
114
`name` | String! | The display name of the team
111
115
`target_id` | ID | The ID of a node within a company's structure. This ID will be the parent of the created team
112
116
113
-
You can get the `target_id` with the [`company`]({{page.baseurl}}/graphql/queries/company.html) query.
114
-
115
117
## Output attributes
116
118
117
119
The `CreateCompanyTeamOutput` output object contains the following attribute:
0 commit comments