PUT
/
categories
/
{id}
.json
Update category
curl --request PUT \
  --url https://elixir.jobkit.io/categories/{id}.json \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
  {
    "id": 123,
    "name": "<string>"
  }
Requires admin authentication
id
integer
required
The id of the category to update
name
string
required
The new name of the category
  {
    "id": 123,
    "name": "<string>"
  }