Add Employee to Group

Adds an employee to a group. Returns the corresponding Group Membership object.

422 Errors

Occur in the following scenarios:

  • The group ID does not exist within the organization.
  • The group ID is not included as a parameter.
  • The employee is already in the given group.

In each of these scenarios, the returned body will be a Hash called errors. The key is the field with the error, and the value is an array of strings containing the error message(s). See the given example for more.

Language
Authorization
Header