curl --request POST \
--url https://app.azalt.co/api/v1/units \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"isCommon": false
}
'{
"id": "<string>",
"name": "<string>",
"organizationId": "<string>"
}Yeni bir ölçü birimi ekler; ad, sembol ve paylaşım durumu belirtilebilir.
curl --request POST \
--url https://app.azalt.co/api/v1/units \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"isCommon": false
}
'{
"id": "<string>",
"name": "<string>",
"organizationId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.