Set the date on which to revoke ESS access
Activity name : <a href="https://developer.loket.nl/Activities/PatchRevokeEmployeeSelfServiceAccessByEmployeeId" target="_blank">PatchRevokeEmployeeSelfServiceAccessByEmployeeId</a>
This endpoint allows the user to set the 'revokeEmployeeSelfServiceAccessOn'. This date indicates on what day the access to WerknemerLoket (Employee Self Service) will be revoked (this is done by scheduled tasks that run during the night). This is particularly useful for situations where for example the employer wants to restrict access at a specific date in the future, for example 1st of May in the next year.
The value may be set to NULL and thus clearing the date on which access would be revoked. Please note that this endpoint will not automatically 'unblock' an Employee, as that would require a specific action.
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/employers/employees/{employeeId}/revokeEmployeeSelfServiceAccess
- Authnone required
Path parameters
The unique identifier of the employee
Headers
A valid Bearer token for authorizing the request.
The accept header is used to influence what type of output is returned and in most cases the version of the output
Request body
Example request
{
"revokeEmployeeSelfServiceAccessOn": "2018-10-23"
}Response
OK
Example response
{
"version": {
"resourceVersion": "2018-12-31"
},
"messages": [
{
"type": "Warning",
"description": "<some warning>",
"id": "904d6856-6034-4624-bcbc-886188c115c5",
"code": 12
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.