cancel
Showing results for 
Search instead for 
Did you mean: 

ServiceTicket time to live?

Dordt
New Contributor II

Is there a way to know when a serviceTicket will expire or how long it is valid for?

Looking at the docs: https://docs.ruckuswireless.com/smartzone/5.2.2/vsze-public-api-reference-guide-522.html#header-comm...

There's nothing under the /v9_1/serviceTicket endpoint that says how long it's valid for. Does the API expect that it be used only a short time? Or should a new ticket be obtained prior to any other request to avoid receiving a 201 error?

1 ACCEPTED SOLUTION

vijaykuniyal
RUCKUS Team Member

Hi @Dordt ,

Once a serviceTicket is generated, it is generally valid for 24 hours, by using the same serviceTicket you can run multiple API query.

It is recommended to delete an existing serviceTicket if you are planning to generate another serviceTicket.

Vijay Kuniyal

Vijay Kuniyal

Staff Technical Support Engineer

CCNA RnS | CCNA Wireless | CWNA | RASZA | Meraki CMNO | RACPA

View solution in original post

4 REPLIES 4

vijaykuniyal
RUCKUS Team Member

Hi @Dordt ,

Once a serviceTicket is generated, it is generally valid for 24 hours, by using the same serviceTicket you can run multiple API query.

It is recommended to delete an existing serviceTicket if you are planning to generate another serviceTicket.

Vijay Kuniyal

Vijay Kuniyal

Staff Technical Support Engineer

CCNA RnS | CCNA Wireless | CWNA | RASZA | Meraki CMNO | RACPA

HI. vijaykuniyal

How do it delete?

Does it delete using logoff?

Hi @Jeronimo 

Right LOGOFF, you can use DELETE option to delete a service Ticket.

vijaykuniyal_1-1701364156892.png

Example:

 

vijaykuniyal_0-1701364001841.png

 

Vijay Kuniyal

Staff Technical Support Engineer

CCNA RnS | CCNA Wireless | CWNA | RASZA | Meraki CMNO | RACPA

Dordt
New Contributor II

That's very helpful to know. Thanks!