POST
/
api
/
equipment
curl --request POST \
  --url http://localhost/api/equipment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "type": "DOCKING_STATION"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "type": "DOCKING_STATION"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
type
enum<string>
required
Available options:
DOCKING_STATION,
MONITOR,
KEYBOARD,
MOUSE,
OTHER
description
string

Response

200
*/*
Equipment successfully created
id
string
name
string
description
string
type
enum<string>
Available options:
DOCKING_STATION,
MONITOR,
KEYBOARD,
MOUSE,
OTHER