---
title: "Update Competency"
method: PUT
path: "/api/competencies/library/{competency_id}"
tags: ["competencies"]
---

# Update Competency

`PUT /api/competencies/library/{competency_id}`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/competencies/library/{competency_id}`
- Auth: HTTP bearer

Update an organization's custom competency.
Cannot update system default competencies.

## Path parameters

- `competency_id` string, required

## Request body

- CompetencyUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `category` string, nullable
  - `evaluation_criteria` string, nullable
  - `sample_questions` string[], nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- CompetencyResponse
  - `name` string, required
  - `description` string, nullable
  - `category` string, nullable
  - `evaluation_criteria` string, nullable
  - `sample_questions` string[], nullable
  - `id` string, required
  - `organization_id` string, nullable
  - `is_system_default` boolean, required
  - `source` string, required
  - `is_active` boolean, required
  - `created_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
