Category

Update an existing category with the provided data

patch/categories/{id}

Request

  • Base URL: http://localhost:3001/v1
  • URL: http://localhost:3001/v1/categories/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

titlestring
for'EXPENSES' | 'INCOME' | 'TRANSFER'
iconstring
colorstring

Response

Category updated

successboolean required

Indicates if the request was successful

messagestring required

Optional success message

dataunknown

Changes

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • info

      the request property format was generalized from uri to no format