v3

latestOpenAPI 3.1.02026-07-311,0939714.5 MB
Document Management

Edit the authorization matrix

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.

put/v2/providers/employers/{employerId}/documents/authorizations

Path parameters

employerIdstring uuid required

The unique identifier of the employer

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Request body

categorystring

The category

isAuthorizaionEditRestrictedboolean

Indicates whether the authorizations of the category can be edited or not.

isTemplateboolean

Indicates whether the category is a template.

Example request

[
  {
    "category": "Arbeidsovereenkomst",
    "canWrite": {
      "provider": true
    }
  }
]

Response

OK