Credentials

Connect an OAuth grant via service account

Connect a Google service account from a JSON key file (no browser flow).

post/v1/credentials/oauth/connect/service-account

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/credentials/oauth/connect/service-account
  • Auth: HTTP bearer

Request body

providerIdstring required
jsonstring required

Service account JSON key file contents.

scopesstring[]

Response

The connected grant status

providerIdstring required
displayNamestring required
authenticatedboolean required
scopesstring[] required
accountEmailstring nullable
authMethod'browser' | 'serviceAccount' nullable

Changes

No recorded changes to this operation across all 1 revision of this API.