---
title: "Update provider specialty"
method: PATCH
path: "/v2/provider/{providerId}/specialties/{specialtyId}"
tags: ["v2/provider"]
---

# Update provider specialty

`PATCH /v2/provider/{providerId}/specialties/{specialtyId}`

Update specialty details with optional sub-specialties

## Path parameters

- `providerId` string, required
- `specialtyId` string, required

## Headers

- `organization-id` string

## Request body

- CreateSpecialtiesV2Dto
  - `specialty_nucc_taxonomy_code` string, required — Nucc taxonomy code tied to this specialty
  - `name` string, required — Name of specialty tied to this taxonomy code
  - `is_primary` boolean, required — Whether this specialty is the provider’s primary speciality; they can only have 1 primary specialty
  - `sub_specialties` SubSpecialtiesV2Dto[], required — Provider’s subspecialties that are tied to this specialty [array] (if there are no subspecialties, include the field, but just put empty [])
    - `specialty_nucc_taxonomy_code` string, required — Nucc taxonomy code tied to this subspecialty
    - `name` string, required — Name of subspecialty tied to this taxonomy code

## Response `204`

Updated.

## Other responses

- `400` — Invalid 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)
