Skip to main content
Question

Creation Authtoken and accepting it

  • February 27, 2024
  • 1 reply
  • 52 views

Forum|alt.badge.img+12

Hi Team,

 

I'm very new to the Rest API, but I was only able to create an authtoken :) As far as I learned, when the authtoken is created, the max. It can be used for 30 days. After this period, it is necessary to create a new authtoken and use the new authtoken. We are thinking something like this, Is it possible to do this?

We are trying to create a powershell script, this script will create a new authtoken every time it runs and will automatically use the new authtoken, then we will be able to GET the information we want from Commvault. Rest

1 reply

Forum|alt.badge.img+1

Timeout is defaulted to 30 minutes. You’ll want to create a token for minutes in 30 days by adding timeout to the body of your request. 

 

Login | Commvault®

 

  • timeout integer

    Default value: 30

    Timeout of the token in minutes


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings