---
title: "Enable or disable modules for an employer"
method: PATCH
path: "/v2/providers/employers/{employerId}/modules"
tags: ["Modules"]
---

# Enable or disable modules for an employer

`PATCH /v2/providers/employers/{employerId}/modules`

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

__Metadata :__ Possible options can be acquired with the GetModulesByProviderId endpoint.

This endpoint enables the user to enable or disable several modules for an employer with one call.

## Path parameters

- `employerId` string, uuid, required

## Headers

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

## Request body

- ModulesPatch[]
  - `id` string, uuid — The unique identifier of the module
  - `action` 'enable' | 'disable' — The action to perform.

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