---
title: "Manage the Provider user authorizations"
method: PATCH
path: "/v2/providers/users/{userId}/authorizations"
tags: ["Provider user authorizations"]
---

# Manage the Provider user authorizations

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

__Activity name :__ PatchProviderUserAuthorizationsByUserId

Manage the Provider user authorizations and `authorizationSet`

__Note:__ Currently the `authorizationSet` doesnt do anything in regard to which authorizations are enabled or disabled. It only functions as a guide to the GUI to visualize and save the authorizations linked to the `authorizationSet`
Only the authorizations with isEnabled set to true are saved all other authorizations will be disabled. There are two exceptions

## 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)
