> ## 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 job charge

> Rename a job charge of the company. Its levels, parent, description and icon are kept. Job charges created from the application cannot be modified. Levels are renamed with `PUT /core/v4/job-charges/{jobChargeId}/levels/{levelId}`.

Version:
v4


## OpenAPI

````yaml openapi-v2.json PUT /core/v4/job-charges/{jobChargeId}
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/job-charges/{jobChargeId}:
    put:
      tags:
        - Job Charges
      summary: Update job charge
      description: >-
        Rename a job charge of the company. Its levels, parent, description and
        icon are kept. Job charges created from the application cannot be
        modified. Levels are renamed with `PUT
        /core/v4/job-charges/{jobChargeId}/levels/{levelId}`.
      operationId: UpdateJobCharge
      parameters:
        - name: jobChargeId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateJobChargeRequest'
      responses:
        '204':
          description: The job charge was renamed.
        '401':
          description: Missing or invalid API key
        '403':
          description: API consumer lacks permission over the requested resource
        '422':
          description: Validation error
components:
  schemas:
    UpdateJobChargeRequest:
      required:
        - name
      properties:
        name:
          description: >-
            Unique among the non-deleted job charges of the company, ignoring
            case, not counting the job charge itself. The " - " separator has no
            meaning: it is part of the name.
          type: string
          maxLength: 255
      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.