Unarchives an employee record that was previously archived.
If you unarchive an employee who will take a different role than the one they had when they were archived, you must update the employee's jobs list and verify that the employee should continue to sign into Toast Web.
Returns the updated employee record.
Employee being unarchived is not currently archived.
curl -i -X PUT \ 'https://toast-api-server/labor/v1/employees/{employeeId}/unarchive' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: string' \ -H 'Toast-Restaurant-External-ID: string'
{- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "deletedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "chosenName": "string",
- "lastName": "string",
- "email": "string",
- "phoneNumber": "string",
- "phoneNumberCountryCode": "string",
- "passcode": "string",
- "externalEmployeeId": "string",
- "deleted": true,
- "jobReferences": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
], - "wageOverrides": [
- {
- "wage": 0,
- "jobReference": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
}
], - "v2EmployeeGuid": "string"
}