Skip to main content
POST
/
lines
/
{id}
Editing a line
curl --request POST \
  --url https://api.qminder.com/v1/lines/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Qminder-REST-API-Key: <api-key>' \
  --data '
{
  "name": "My New Cool Line",
  "color": "#f012be"
}
'
"{\n  \"statusCode\": 200\n}"

Authorizations

X-Qminder-REST-API-Key
string
header
default:yourbusinessapikey
required

Headers

Content-Type
string
default:application/x-www-form-urlencoded

Path Parameters

id
integer<int32>
default:123
required

ID of a Line

Body

name
string
default:My New Cool Line

The name of the Line. The maximum length is 30 characters.

color
string
default:#f012be

The color of the Line. The hexadecimal color code.

Response

200 - application/json

200

statusCode
integer
default:0
Example:

200