English
cURL
curl --request DELETE \ --url https://app.azalt.co/api/v1/units/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "name": "<string>", "organizationId": "<string>" }
Delete a measurement unit from the organization.
This operation will fail if the unit is currently in use by any form elements, indicators, or has associated data. Consider using the merge operation to consolidate units before deletion.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response