Skip to main content
PATCH
/
units
/
{unit}
Update unit
curl --request PATCH \
  --url https://api.example.com/units/{unit} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "reference": "<string>",
  "parent_id": 123,
  "description": "<string>"
}
'

Path Parameters

unit
integer
required

Unit ID

Body

application/json
name
string | null
reference
string | null
parent_id
integer | null
description
string | null

Response

Unit updated