Hi
I have a question about project-specific tokens. How can I obtain them via web-api? Instead of using UI. Due to the fact that the token is associated with the person who generated it, once that person’s account is removed, all tokens he created will automatically be revoked. My goal is to prevent this from happening again by using web-api to generate tokens using service-account. Thank you
Hi,
The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.
You may also find this guide helpful.
HTH,
Ann
hi G Ann
i tried the way in the guide, but unfortunately, i can’t find the correct web API./
Hi,
What did you try to find the right API?
Ann
Hi,
I have the same question. I have done everything described in this guide. But it seems that the token is not generated from the client side.
Okay, but I think I almost found the solution. The UI action lets create a UserToken with a project key (described here). I want to use this terraform-provider, use the go-client that is generated from here. But I don’t see the described project_key in this api. Can you please update the cloudapi to create UserToken within the project scope.
Hi @ganncamp, thank. Any chance that this would be change in a near future?
Hi,
I don’t have a timeline for this.
Ann