# Updates an existing ticket sub-status.

Endpoint: PATCH /tickets/sub-status/{subStatusId}
Version: v3
Security: oauth2

## Security:

  - `oauth2` (unknown)
    oauth2

## Path parameters:

  - `subStatusId` (string, required)
    The ID of the ticket sub-status.

## Request body:

  - `application/json, text/json, application/*+json` (unknown)
    The update request body.

## Request fields (application/json):

  - `name` (null | string, required)
    Gets or sets the name of the ticket sub-status.

## Response 204:

  - `204` (unknown)
    No Content

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 404:

  - `404` (unknown)
    The sub-status cannot be found.

## Response 404 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response default fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

