---
title: "Reinstate or Revoke access to Loket for a provider user (clients)"
method: PATCH
path: "/v2/providers/users/{userId}/access"
tags: ["Provider user"]
---

# Reinstate or Revoke access to Loket for a provider user (clients)

`PATCH /v2/providers/users/{userId}/access`

__Activity name :__ PatchManageProviderUserLoketAccessByUserId

__Metadata :__  No metadata

__Defaults :__ No defaults

Reinstate or Revoke access to Loket. 

This endpoint can also be used to block access to just the loket classic interface

__Note:__ Only blocks access to "Loket2" and "Loket3" client. Conections for other clients are not affected by this action.

## Path parameters

- `userId` 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
- `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)
