curl --request POST \
--url https://local.auth.local.nhost.run/v1/user/provider/tokens \
--header 'Content-Type: application/json' \
--header 'x-hasura-admin-secret: <x-hasura-admin-secret>' \
--data '{
"providerId": "<string>",
"userId": "2c35b6f3-c4b9-48e3-978a-d4d0f1d42e24"
}'
"<string>"
Refresh Oauth Token
curl --request POST \
--url https://local.auth.local.nhost.run/v1/user/provider/tokens \
--header 'Content-Type: application/json' \
--header 'x-hasura-admin-secret: <x-hasura-admin-secret>' \
--data '{
"providerId": "<string>",
"userId": "2c35b6f3-c4b9-48e3-978a-d4d0f1d42e24"
}'
"<string>"
Hasura admin secret
The body is of type object
.
Success
The response is of type string
.
Was this page helpful?