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)
- EUhttps://eu1.api.pushsecurity.com/v1/employees/{id}
- UShttps://us1.api.pushsecurity.com/v1/employees/{id}
curl -i -X PATCH \
'https://eu1.api.pushsecurity.com/v1/employees/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{}'OK. Returns null if you unlicense an employee that hasn't got any accounts
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 }