Customize Access token expire_in time

How can we set default expire_in time for apigee edge managment API for token generation. I want to change the default expire_in time for the /accesstoken managment API.

0 3 135
3 REPLIES 3

Which management API, specifically?  Which tokens? 

If you are using an API Proxy to generate tokens for your apps and API proxies, then in the OauthV2 policy there is an ExpiresIn element, that lets you set expiry. 

But, you said "management API", which suggests that you are referring to something else.

I am calling a API edge management API to generate access token which later i can sue to call other managament API.

No, you cannot modify that expiry time. 

Why do you need to do that?  I believe the tokens are good for 60 minutes. Do you have a task that runs longer?