Update User
Edit a user's basic information in Greenhouse.
Options
Field | Definition | Type | Required |
---|---|---|---|
Update By |
Choose one option to identify the user record. There are three options:
Any of the email addresses assigned to the user's account can be used for the look up action. However, an email address can't be included in more than one user account. |
Dropdown |
TRUE |
Pass Empty Values? |
Specifies whether empty values are passed to the remote system, instead of skipping an update to the field.
This option also affects lists or objects, but doesn't affect dropdown types. If you set Pass Empty Values? to Yes, then the First Name and Last Name fields can't be left blank if you select them as inputs. |
Dropdown |
TRUE |
Input
Field | Definition | Type | Required |
---|---|---|---|
On Behalf Of |
|||
User ID |
ID of the user issuing this request. Required for auditing purposes. |
Number |
TRUE |
User |
The User section displays only one of these fields, based on the selection in the Update By option. |
||
ID |
Unique identifier of the user. |
Number |
TRUE |
|
Any of the email addresses associated with this user. |
Text |
TRUE |
Employee ID |
Unique external ID of the user. |
Text |
TRUE |
Update |
|||
First Name |
Given name of the user. If selected, this field can't be left blank. |
Text |
FALSE |
Last Name |
Last name of the user. If selected, this field can't be left blank. |
Text |
FALSE |
Employee ID |
Unique external ID of the user. |
Text |
FALSE |
Office IDs |
The user's new offices. If this option is selected, then External Office IDs must be blank. An empty array removes all offices for this user if Pass Empty Values? is set to Yes. |
List of Numbers |
FALSE |
External Office IDs |
This may be used instead of Office IDs. Each number represents the ID of an office in an external system. If this option is selected, then Office IDs must be blank. |
List of Numbers |
FALSE |
Department IDs |
The user's new departments. If this option is selected, then External Department IDs must be blank. An empty array removes all departments for this user if Pass Empty Values? is set to Yes. |
List of Numbers |
FALSE |
External Department IDs |
This may be used instead of Department IDs. Each number represents the ID of a department in an external system. If this option is selected, then Department IDs must be blank. |
List of Numbers |
FALSE |
Custom Fields |
A list of custom field objects that contain all the custom fields to update for this user. Each object needs to strictly follow the format mentioned in the Custom Field Parameters section of the Edit User API documentation. |
List of Objects |
FALSE |
Output
Field | Definition | Type |
---|---|---|
Response |
||
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:
For a full list of possible status codes, see HTTP status codes. |
Number |