DMX

Remove a fixture

DEL/api/devices/{id}/fixtures/{fid}
Admin. Needs an unlock token (x-tempolight-token) while a PIN lock is set; without a lock, anyone can call it.

Removes it and its point in the room.

Path parameters

idstringrequired

A DMX device id (d…).

fidstringrequired

A fixture id (f…).

Responses

200OKapplication/json
oktruerequired
403Locked, or not allowed.application/json
errorstringrequired

What went wrong, in a sentence for people.

404No such id.application/json
errorstringrequired

What went wrong, in a sentence for people.

Request
curl -X DELETE 'http://localhost:8080/api/devices/id/fixtures/fid'
Response
{
  "ok": true
}
Edit on GitHub