RESTful Shelly call with password?

Hi.
Probably an easy one for this community.
A Shelly Plug with a password set. Need to switch it off and after 5 seconds on again with a rest call. This works without the password set in the Shelly but i can’t figure out how to do it with security (password) enabled.

This work from a browser of course but RESTful give me a 401 Unauthorized.

rest_command:
  reboot_udr:
    url: 'http://admin:[email protected]/relay/0?turn=off&timer=5'
    method: GET

Use the username and password parameters.
RESTful Command - Home Assistant

Tried that, No luck.

We need more than ‘no luck’.

Errors? Log entries? Something useful to try to help please.

Sorry.
Trying this:

rest_command:
  reboot_udr:
    url: 'http://x.x.x.x/relay/0?turn=off&timer=5'
    method: GET
    username: admin
    password: password

When i call the service i get:

content: “”
status: 401

Do you need to use ‘payload’ instead of putting it into the url?

Just pissing in the wind here as I don’t use these commands. But looking at the docs and trying to help with what seems to make sense.