Update unit

Replace the editable fields of a unit of measurement by unit ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Unit ID.

Body Params
string
required

Name of the unit of measurement.

subunits
array of objects
Defaults to null

Supplementary units of measurement. Supplementary units with a subunit_id are updated; without are created; omitted ones are deleted. Null removes all supplementary units.

subunits
Responses
202

Unit updated

401

Unauthorized

404

Not found

429

Too many requests

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json