Set a timer for X minutes via JSON API to turn off the WLED

I think I’ve read through the whole documentation, but I can’t find it. Can I invoke the timer via the API?

I’m sending something to my WLED project via the JSON API and when it’s received I want it to turn off after X amount of minutes (or use the default timer of 60 minutes)

The delay timer is called the “nightlight timer”.
Search in the JSON API and/or HTTP request sections of the KB.

You can set those values like any other API parameter.

@divsys thanks I would have never find it.

Example JSON for future reference, set on the nightlight timer for 1 minute

   "nl": {
      "on": true,
      "dur": 1
    },