My company mandates 90 date expiration to service account credentials. So I am checking if I can set an expiry to Oauth credential under a Service Account?
Hi @alvina_hr
No, Oauth 2.0 (2LO) provide a Client ID and Secret that do not expire except if you revoke it. These information allow you to request an access token that expire after 1h. A new token can then be requested using Client ID and Secret.
If you want to set a expiration period/date you will have to use API Token.
I do not think there is any API to delete service account Client ID and Secret.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.