Add Common Name
The "Add Common Name" API facilitates the addition of new common names to the lab items common names master.
Add an Item
curl --location 'https://demo.hng.one/developerapi/lab/create-item-common-name' \
--header 'Authorization: Bearer <<JWT_TOKEN>>' \
--header 'Content-Type: application/json' \
--data-raw '[{
"common_name" : "test123"
}]'
API Fields Description
Item Info
| Field | Description | Type | Required |
|---|---|---|---|
| common_name | Common Name | String | Yes |