# Create new category

Endpoint: PUT /tickets/categories
Version: v3
Security: oauth2

## Security:

  - `oauth2` (unknown)
    oauth2

## Request fields (application/json):

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

  - `locations` (null | array)
    Gets or sets the list of locations associated with the ticket category.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (string)
    Gets or sets the ticket category id.

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

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

  - `locations` (null | array)
    Gets or sets the list of locations associated with the ticket category.

## Response 409:

  - `409` (unknown)
    A category with the same name already exists.

## Response 409 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

