Skip to content

Delete light

DELETE
/lights/{id}
curl --request DELETE \
--url https://api.occulights.com/api/v1/lights/example \
--header 'Authorization: <Authorization>'

Deletes a specific light by its ID

id
required
string

Light ID

Light deleted

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

No Content

Media typeapplication/json

Invalid light ID

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Unauthorized

Media typeapplication/json
string

Example generated

example

Light not found

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Internal Server Error

Media typeapplication/json