Skip to content

Update existing category

Request

Security
oauth2
Path
categoryIdstring, (uuid)required
Bodyrequired
namenull or string, [ 0 .. 80 ] characters

Gets or sets the category name.

isActivenull or boolean

Gets or sets a value indicating whether the category is active or not.

locationsArray of strings or null

Gets or sets the list of locations associated with the ticket category. Omitting the property or sending null leaves the category's existing locations unchanged; send an empty list to remove them all.

{ "name": null, "isActive": null, "locations": null }

Responses

OK

Bodyapplication/json
idstring, (uuid)

Gets or sets the ticket category id.

namenull or string

Gets or sets the category name.

isActiveboolean

Gets or sets a value indicating whether the category is active or not.

locationsArray of strings or null

Gets or sets the list of locations associated with the ticket category.

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "isActive": true, "locations": null }