Matomo 5 secure token via API

Since matomo 5 you can have auth token with “Secure only” flag.
Via the UI you can create those secure only tokens but via the API currently not.

Link to FAQ:

Current API:
UsersManager.createAppSpecificTokenAuth (userLogin, passwordConfirmation, description, expireDate = ‘’, expireHours = ‘0’) [ No example available ]

No option for a secure_only token to pass, I tried but it did nothing.

Am I missing something or is this still in development?.


Hi @MickyJaggy
Which API do you use? (HTTP, PHP, etc?)