---
title: "Set the date on which to revoke ESS access"
method: PATCH
path: "/v2/providers/employers/employees/{employeeId}/revokeEmployeeSelfServiceAccess"
tags: ["Employee"]
---

# Set the date on which to revoke ESS access

`PATCH /v2/providers/employers/employees/{employeeId}/revokeEmployeeSelfServiceAccess`

__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.

## Path parameters

- `employeeId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket/apis/loket-api.md) · [All operations](https://skmtc.net/loket/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket/loket-api/revisions/32d1693f8db8/schema)
