# Create a category. Endpoint: PUT /tickets/categories Version: v3 Security: oauth2 ## Request fields (application/json): - `name` (string, required) Gets or sets the name of the ticket category. - `locations` (array,null) Gets or sets the list of locations associated with the ticket category. ## Response 201 fields (application/json): - `id` (string) Gets or sets the ticket category id. - `name` (string,null) Gets or sets the category name. - `isActive` (boolean) Gets or sets a value indicating whether the category is active or not. - `locations` (array,null) Gets or sets the list of locations associated with the ticket category. ## Response 400 fields (application/json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response default fields (application/json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null)