Use nhost.functions.setAccessToken to a set an access token to be used in subsequent functions requests. Note that if you’re signin in users with nhost.auth.signIn() the access token will be set automatically.

nhost.functions.setAccessToken('some-access-token')

Parameters


accessToken required undefined | string