POST
/
units
curl --request POST \
  --url http://sandbox.planpoint.io/units \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "tag": "<string>",
  "id": 123
}'
{
  "name": "<string>",
  "tag": "<string>"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the unit

tag
string

Tag to specify the type

id
integer
required

Identification number of the unit

Response

200 - application/json
name
string
required

The name of the unit

tag
string

Tag to specify the type