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
platform
object
required

Platform identifier

authentication
object
required

Authentication details

Response

200 - application/json

Success

success
boolean
required
authentication
object

The authentication is returned in case there is a server side set information to be passed to the client.