Security
x-api-key
A new primary email address for the employee. This must be one of the known email addresses for the employee.
Set the groups an employee is in (this will overwrite the existing groups)
PATCH
curl -i -X PATCH \
'https://api.pushsecurity.com/v1/employees/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{}'Response
{ "id": "2a2197de-ad2c-47e4-8dcb-fb0f04cf83e0", "email": "john.hill@example.com", "knownEmails": [ "john.hill@example.com", "jhill@example.com" ], "firstName": "John", "lastName": "Hill", "department": "Security Engineering", "location": "New York", "licensed": true, "chatopsEnabled": true, "groups": [ "engineering", "marketing" ], "creationTimestamp": 1698669223 }