POST
/
api
/
platforms
/
v1
SetPlatformAuthentication
curl --request POST \
  --url https://developer.synq.io/api/platforms/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "platform": {
    "bigquery": {
      "project": "<string>"
    }
  },
  "authentication": {
    "oauth": {
      "clientId": "<string>",
      "clientSecret": "<string>"
    }
  }
}'
{
  "success": true,
  "authentication": {
    "oauth": {
      "clientId": "<string>",
      "clientSecret": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Success

The response is of type object.