05-01-2023 06:35 AM - edited 05-01-2023 06:38 AM
Ruckus Cloud has now started to use JSON Web Tokens (JWT) to secure all endpoints. Previously Ruckus Cloud used a cookie with an API key for authentication in evey API call.
•POST /token is used to obtain a jwt.
•The response includes the tenantId and the token. The API-KEY field will always be null.
•The token expires after 60 minutes
When using Postman, subsequent API calls must use the Bearer Token authorization, using the jwt obtained previously.
In the below example, the jwt is saved in the {{JWT}} variable.
In Order to save the JWT as token, Create a new Environment and update the JWT token in initial value and current value.