> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.sesametime.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update competency

> Update a competency of the company dictionary. Its job charge links are kept as they are.

Version:
v4


## OpenAPI

````yaml openapi-v2.json PUT /core/v4/competencies/{competencyId}
openapi: 3.0.0
info:
  title: Sesame Public API v2
  description: >-
    Public API v2 — additive surface `/public/{context}/v{N}`,
    endpoint-versioned from v4
  version: 1.0.0
servers:
  - url: https://api.sesamehr.com
    description: Production
security:
  - Bearer: []
paths:
  /core/v4/competencies/{competencyId}:
    put:
      tags:
        - Competencies
      summary: Update competency
      description: >-
        Update a competency of the company dictionary. Its job charge links are
        kept as they are.
      operationId: UpdateCompetency
      parameters:
        - name: competencyId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCompetencyRequest'
      responses:
        '204':
          description: The competency was updated.
        '401':
          description: Missing or invalid API key
        '403':
          description: API consumer lacks permission over the requested resource
        '422':
          description: Validation error
components:
  schemas:
    UpdateCompetencyRequest:
      required:
        - name
        - iconType
        - iconName
        - levels
      properties:
        name:
          type: string
          maxLength: 255
        description:
          type: string
          maxLength: 2500
          nullable: true
        categoryId:
          description: 'Category of the competency. Missing: `No category`.'
          type: string
          format: uuid
          nullable: true
        iconType:
          type: string
          enum:
            - ICON
            - EMOJI
            - LETTER
        iconName:
          type: string
        color:
          type: string
          nullable: true
        levels:
          description: >-
            The full list of 3 to 5 levels. A level with `id` updates that
            level; a level without `id` is created; an existing level that is
            not sent is deleted.
          type: array
          items:
            required:
              - name
              - rank
            properties:
              id:
                type: string
                format: uuid
                nullable: true
              name:
                type: string
              description:
                type: string
                nullable: true
              rank:
                type: integer
            type: object
        language:
          description: >-
            Language of the content, e.g. `es-ES`. Missing or invalid: the
            company language.
          type: string
          nullable: true
      type: object
  securitySchemes:
    Bearer:
      type: http
      description: 'Sesame Public API consumer token (Authorization: Bearer <token>)'
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.