Other types

Learn about other types supported by the teams APIs

The monday.com teams APIs enable you to create, read, update, and delete teams.

The types below are used by the teams queries and mutations, and are not independently queryable.

AssignTeamOwnersResult

An object containing the result of assigning team owners via the API.

FieldTypeDescription
errors[AssignTeamOwnersError!]The errors that occurred while assigning owners to a team. Use this field to check for calls that failed.
teamTeamThe team the owners were assigned to.

AssignTeamOwnersError

An object containing the error that occurred when an assign_team_owners mutation fails.

FieldTypeDescriptionEnum Values
codeAssignTeamOwnersErrorCodeThe error code that occurred.CANNOT_UPDATE_SELF
EXCEEDS_BATCH_LIMIT
FAILED
INVALID_INPUT
USER_NOT_FOUND
USER_NOT_MEMBER_OF_TEAM
VIEWERS_OR_GUESTS
messageStringThe error message.
user_idIDThe unique identifier of the user that caused the error.

ChangeTeamMembershipsResult

An object containing the result of adding or removing users from a team via the API.

FieldTypeDescription
failed_users[User!]The users for whom the team membership update failed.
successful_users[User!]The users for whom the team membership update succeeded.

CreateTeamAttributesInput

An object containing the attributes of the team to create.

FieldTypeDescription
is_guest_teamBooleanWhether the new team contains guest users.
nameString!The new team's name.
parent_team_idIDThe parent team's unique identifier.
subscriber_ids[ID!]The team members' unique identifiers. Cannot be empty unless allow_empty_team is set.

CreateTeamOptionsInput

An object containing the options for the team to create.

FieldTypeDescription
allow_empty_teamBooleanWhether or not the team can have no subscribers.

RemoveTeamOwnersResult

An object containing the result of removing team owners via the API.

FieldTypeDescription
errors[RemoveTeamOwnersError!]The errors that occurred while removing owners from a team. Use this field to check for calls that failed.
teamTeamThe team the owners were removed from.

RemoveTeamOwnersError

An object containing the error that occurred when a remove_team_owners mutation fails.

FieldTypeDescriptionEnum values
codeRemoveTeamOwnersErrorCodeThe error code that occurred.CANNOT_UPDATE_SELF
EXCEEDS_BATCH_LIMIT
FAILED
INVALID_INPUT
USER_NOT_FOUND
USER_NOT_MEMBER_OF_TEAM
VIEWERS_OR_GUESTS
messageStringThe error message.
user_idIDThe unique identifier of the user that caused the error.