POST
/
user
/
provider
/
tokens
curl --request POST \
  --url https://local.auth.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>"

Headers

x-hasura-admin-secret
string
required

Hasura admin secret

Body

application/json
providerId
string
required
userId
string
required

Id of the user

Response

200 - application/json

The response is of type string.