Documentation

Documentation for Cloud Manager REST API.

On the 5nine Management Server, open a web browser to https://localhost:16080/Swagger

This will open the 5nine Swagger API interface

 

Navigate to Authentication to Generate an API key for testing

Select the /core/Authentication/Token 

Execute the API call: select Try it out

 

Enter a valid user name previously created within 5nine Console or API ,  In this example we are authenticating with a Global Admin with the username “api” and Password “test123”

Next Select Execute

 

Copy generated Access Token without the quotes:

 

Browse back to top of the Swagger API Screen and Select Authorize

 

Enter the Access token into the Value, NOTE: You will need to add the word Bearer before the Access token, Using the above access token. The example entry would look like:

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ey343HRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1ldw9iIiwic3ViIjoiNmE2ZjI1ZGYxYWFiNGZhMDliYzFiZDdhMDI2NGZlMzIiLCJqdGkiOiIyMDI3MTZhZS0wYWExLTQ4ODktYThhNi04ZDJmNzhkN2RhNjAiLCJpYXQiOjE1NDg5NTEwMzUsIm5iZiI6MTU0ODk1MTAzNSwiZXhwIjoxNTUxNTQzMDM1LCJpc3MiOiJodHRwczovLyo6MTYwODAiLCJhdWQiOiJodHRwczovLyo6MTYwODAifQ.HPIklCiWKUWL38fRZzDI7rlc_Qp1_e8R_V3HmfHB7sw

 

 

Select Authorize,  At this point, you should be authenticated to the API, You can now run and test other functions of the API. 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.