Security
x-api-key
POST
curl -i -X POST \
'https://api.pushsecurity.com/v1/employees/{id}/merge' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"secondaryEmployeeIds": [
"72d0347a-2663-4ef5-b1c5-df39163f1603",
"87569da6-fb7a-4df7-8ce2-246c14044911"
]
}'OK. Returns the details of the primary employee.
All the known email addresses of the employee
Example:
[ "john.hill@example.com", "jhill@example.com" ]
Department - as provided by connected API integrations
Example:"Security Engineering"
When this employee was created, formatted as a UNIX timestamp (in seconds)
Example:1698669223
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 }