---
title: "Modify groups associated to a provider"
method: PUT
path: "/v2/provider/{providerId}/groups"
tags: ["v2/provider"]
---

# Modify groups associated to a provider

`PUT /v2/provider/{providerId}/groups`

Modifies the groups (org-entities) associated with a provider.

## Path parameters

- `providerId` string, required

## Headers

- `organization-id` string

## Request body

- CreateProviderV2GroupDto[]
  - `group_name` string, required — Name of the group
  - `group_npi` string, required — Group National Provider Identifier (NPI)
  - `group_tin` string, required — Group Tax Identification Number (TIN)
  - `location_name` string — Name of group location
  - `external_group_id` string — Client's ID for the group

## Response `200`

The record has been successfully updated.

## Other responses

- `400` — Bad request because the wrong parameters are provided in the request body.
- `401` — Unauthorized if authorization token is not provided or invalid.
- `403` — Forbidden if user access is not right.
- `404` — Resource not found.

---

[API](https://skmtc.net/certifyos/apis/certifyos-api.md) · [All operations](https://skmtc.net/certifyos/apis/certifyos-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certifyos-api/versions/df08dd00da43/schema)
