Question

Is this place best for those new to the Bettercloud API?



Show first post

55 replies

Badge

It was an Amazon VPN issue. Unsure if you are customer of other Amazon subsidiaries but you may want to forward that along to resolve

Userlevel 2
Badge +2

Ok, thanks Mark!

Badge

Here is the outcome of the working session:

$method= 'Post'
$url="https://api.bettercloud.com/api/graphql"
$headers=@{
Authorization="$env:BETTERCLOUD_API_TOKEN"
ContentType= 'application/json'
accept= 'application/json'
charset='utf-8'
}
#could not get the filter to work
$body='{"query": "{ roles { displayValue members { member { accounts { displayValue admin connector { provider { displayValue } } } } } } } "}'
$response=Invoke-RestMethod -Uri "" -Method Post -Headers $headers -ContentType 'application/json' -Body $body

Badge

Now you guys can reference it if it comes up again

Userlevel 2
Badge +2

Awesome, thanks Mark!

Reply