Skip to main content

CreateUserRelationshipInput

A new reporting or other relationship between two users.

input CreateUserRelationshipInput {
notes: String
relatedUserId: String!
relationshipType: UserRelationshipType!
userId: String!
}

Fields​

CreateUserRelationshipInput.notes ● String scalar​

Optional notes about this relationship

User ID of the supervisor/manager

CreateUserRelationshipInput.relationshipType ● UserRelationshipType! non-null enum​

Type of relationship

CreateUserRelationshipInput.userId ● String! non-null scalar​

User ID of the subordinate

Member Of​

addUserRelationship mutation