cURL
curl -X PUT \ /units/{id} \ --header "Content-Type: application/json" \ --header "Authorization: Bearer <token>" \ --data '{ "translations": [] }'
{ "id": {}, "name": "Stück", "translations": {}, "createdAt": "2021-01-01T00:00:00+00:00", "updatedAt": "2021-01-01T00:00:00+00:00" }
Update a unit
unit:write
Value for the Authorization header parameter.
Unit identifier
The updated Unit resource
Show child attributes
255
"Stück"
"de"
Unit resource updated
The date and time when the resource was created.
"2021-01-01T00:00:00+00:00"
The date and time when the resource was last updated.
Was this page helpful?