Update a unit
unit:write
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" }
Value for the Authorization header parameter.
Unit identifier
The updated Unit resource
Unit resource updated
Was this page helpful?