Add Relation to User

Add a relation to a Google Workspace user.

Input

Field Definition Type Required
User
User ID Unique identifier of the user. String TRUE
Relation
Relation Name Name of the person the user is related to. String TRUE
Type Type of relation:
  • admin_assistant
  • assistant
  • brother
  • child
  • custom
  • domestic_partner
  • dotted_line_manager
  • exec_assistant
  • father
  • friend
  • manager
  • mother
  • parent
  • partner
  • referred_by
  • relative
  • sister
  • spouse
Dropdown FALSE
Custom Type Required, user defined value if the type is custom. String TRUE

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Google Workspace Admin connector

Workflow elements

Google Workspace API documentation