Bonsai API Auth?

I’m trying to use the Bonsai API to trigger a rebuild as documented here - API documentation. That says

Currently, the Bonsai Asset Index application does not authenticate the caller making requests to the endpoints, and therefore does not authorize specific endpoints according to the caller’s permission level. In the future, this may change.

And when I do
curl -XPUT https://bonsai.sensu.io/api/v1/assets/recompile/<username>/<assetname>
I get
{"error_code":"AUTHENTICATION_FAILED","error_messages":["Could not find user ''."]}
My username and asset exist.
Maybe the doc us out of date, so what how do I authenticate?

Hey @madhatter22

I’m Dishi from the Sensu team — I came across your post and wanted to follow up.

I noticed that the latest version of your asset (Sensu assets | Bonsai asset index - sensu-simple-google-chat-handler Asset) was released on April 16. Just checking in — were you able to resolve the issue you were encountering?

If you did manage to fix it, it would be helpful if you could share the troubleshooting steps here for the benefit of others in the community. On the other hand, if the issue is still ongoing, I’d be happy to help investigate further.

Thankyou