Getting Data In

how long does the rest api session key last? Can you revoke it?

juniormint
Communicator

Rest API Login
A session key is returned...does this thing last forever? If not, under what circumstances does it expire or get revoked? Can I force revoke all sessions for user? or at least a specific session?

Tags (2)
0 Karma
1 Solution

juniormint
Communicator

Seems like it lasts till
1) the server is restarted
2) they are manually invalidated

View solution in original post

0 Karma

juniormint
Communicator

Seems like it lasts till
1) the server is restarted
2) they are manually invalidated

0 Karma

starcher
SplunkTrust
SplunkTrust

My understanding is that it is tied to the session timeout under settings->general as would normal web session logins to the search page.

Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...