---
title: "Edit the authorization matrix"
method: PUT
path: "/v2/providers/employers/{employerId}/documents/authorizations"
tags: ["Document Management"]
---

# Edit the authorization matrix

`PUT /v2/providers/employers/{employerId}/documents/authorizations`

__Activity name:__ <a href="https://developer.loket.nl/Activities/PutDossierAuthorizationsByEmployerId" target="_blank">PutDossierAuthorizationsByEmployerId</a>

Edit the authorizations. Categories not included in de request will be set to inaccessible for all roles.

## Path parameters

- `employerId` string, uuid, required

## Headers

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

## Request body

- AuthorizationsObject[]
  - `category` string — The category
  - `isAuthorizaionEditRestricted` boolean — Indicates whether the authorizations of the category can be edited or not.
  - `isTemplate` boolean — Indicates whether the category is a template.
  - `canWrite` object — This object describes the authorization per category for each role.
    - `provider` boolean
    - `employer` boolean
    - `departmentManager` boolean
    - `employee` boolean

## 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-acc/apis/loket-api.md) · [All operations](https://skmtc.net/loket-acc/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket-acc/loket-api/revisions/b32a42be97f7/schema)
