Product: PowerShell Universal Version: 3.8.1
Is there is way to pass an api token when calling an API via the Swagger page? I noticed when I select the Powershell Universal Management API from the drop down menu you get an “Authorize” button to enter the auth token.
When I switch to the Endpoints, there is no option. I tried entering in the token in the other page but can see that the authorization header info is never sent when running from the Endpoints section.
6f53986f021e8bb42f000248080f6c278fe79c23.png
Recommended Answer
Ok…looking at the Swagger info and the new option to define your own documentation, I think that answers my question. Looks like I should be able to define that myself via a OAS3 definition.
Ok…looking at the Swagger info and the new option to define your own documentation, I think that answers my question. Looks like I should be able to define that myself via a OAS3 definition.
How do you configure that? Can you give me an example?