Skip to main content

UpsertTeamPayload

The output of our upsert Team mutation.

type UpsertTeamPayload {
clientMutationId: String
team: Team
query: Query
workspace: Workspace
createdByWorkspaceAccount: WorkspaceAccount
parentTeam: Team
teamEdge(
orderBy: [TeamsOrderBy!] = [PRIMARY_KEY_ASC]
): TeamsEdge
}

Fields

UpsertTeamPayload.clientMutationId ● String scalar

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

UpsertTeamPayload.team ● Team object

The Team that was upserted by this mutation.

UpsertTeamPayload.query ● Query object

Our root query field type. Allows us to run any query from our mutation payload.

UpsertTeamPayload.workspace ● Workspace object

Reads a single Workspace that is related to this Team.

UpsertTeamPayload.createdByWorkspaceAccount ● WorkspaceAccount object

Reads a single WorkspaceAccount that is related to this Team.

UpsertTeamPayload.parentTeam ● Team object

Reads a single Team that is related to this Team.

UpsertTeamPayload.teamEdge ● TeamsEdge object

An edge for our Team. May be used by Relay 1.

UpsertTeamPayload.teamEdge.orderBy ● [TeamsOrderBy!] list enum

The method to use when ordering Team.

Returned By

upsertTeamById mutation ● upsertTeamByWorkspaceIdAndName mutation