PUT
/
categories
/
{id}
.json
curl --request PUT \
  --url https://elixir.jobkit.io/categories/{id}.json \
  --header 'Authorization: Basic <encoded-value>' \
  --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>"
  }