Matomo 5 secure token via API

Problem:
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: https://matomo.org/faq/general/faq_114/

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?.

Thanks.

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