Xc-token for API key [Jun 17]

:raising_hand_man: arsenio asked

my container with noco has been restarted and API key (xc-auth) has changed, but my several apps use the old key. It’s a lot of work to change them all to the new API.

Is it possible to restore an old API key?

Thanx

:person_tipping_hand: o1lab replied

xc-auth is meant only for GUI usage and has a refresh time (10 or 12 hrs)

:person_tipping_hand: o1lab replied

use xc-token header

:person_tipping_hand: o1lab replied

create an API token within the prodcut

:raising_hand_man: wkw replied

pls take a look here.

https://docs.nocodb.com/developer-resources/accessing-apis

:raising_hand_man: arsenio replied

yes, I did it. there is no such info. My question is If I can restore the old API

:raising_hand_man: arsenio replied

before the update I was using the same API for months

:raising_hand_man: arsenio replied

I mean xc-auth. but now probably I need to change in all my apps to xc-token, right?

:person_tipping_hand: o1lab replied

xc-token is an API token that you can use until you delete the token

:person_tipping_hand: o1lab replied

xc-auth has a expiry date

:person_tipping_hand: o1lab replied

unsure on how u managed to use xc-auth without refresh

:raising_hand_man: arsenio replied

all right. thanx.

:raising_hand_man: VA-Ohm replied

same here, I made one (fortunately only one) script and it used xc-auth for several months

:raising_hand_man: VA-Ohm replied

just today I got the error

:raising_hand_man: VA-Ohm replied

it has never expired before

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs