- Ruckus One uses JSON Web Tokens (JWT) to secure all endpoints.
- POST method is used to obtain a jwt.
- The API response to POST call includes tenantId and token.
- Token is valid for 60 minutes.
POSTMAN:
- Select the method as POST.
- Enter the API host url for your region.
- In the Body field- select raw and enter the payload.
- Select format as JSON.
- Click on Send button.
The response should be 200 ok and provides tenantId and jwt information as shown below.
Now Subsequent API calls must include JWT obtained as the Bearer token authorization.
Testing an API call:
- Enter the url as “https://api.eu.ruckus.cloud/api/tenant/{tenantId}/venue”
- Under Body select none.
- Change method to GET.
- Select Authorization type as Bearer token and Paste the JWT token obtained in previous API Call.
The response should be 200 ok and we can see the venue information as shown in below screenshot:
References: https://docs.ruckus.cloud/api/