Sign in

Get data sharing settings

documented

Get data sharing settings for an account.

POST /v1beta/{name=accounts/*}/dataSharingSettingsAnalytics Data APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://analyticsadmin.googleapis.com/v1beta/accounts/{{$account_id}}/dataSharingSettings" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"sharing_with_google_support_enabled": {{$sharing_with_google_support_enabled}}, "sharing_with_google_assigned_sales_enabled": {{$sharing_with_google_assigned_sales_enabled}}, "sharing_with_google_products_enabled": {{$sharing_with_google_products_enabled}}, "sharing_with_others_enabled": {{$sharing_others_enabled}}}'