# Updates an existing job type

Endpoint: PATCH /tickets/job-types/{jobTypeId}
Version: v3
Security: oauth2

## Security:

  - `oauth2` (unknown)
    oauth2

## Path parameters:

  - `jobTypeId` (string, required)

## Request fields (application/json):

  - `name` (null | string)
    Gets or sets the job type name.

  - `isActive` (null | boolean)
    Gets or sets a value indicating whether the job type is active.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (string)
    Gets or sets the unique identifier for the job type.

  - `name` (null | string)
    Gets or sets the name of the job type.

  - `isActive` (boolean)
    Gets or sets a value indicating whether JobType is active.

## Response 400:

  - `400` (unknown)
    A job type with the same name already exists.

## Response 400 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 404:

  - `404` (unknown)
    Job type not found

## Response 404 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

