Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

The name of the service account. Your organization's domain will be automatically prepended to the service account name. The name must only include letters (a-z, A-Z), numbers (0-9), and hyphens (-), and must be between 6 and 30 characters long.

type
enum<string>
required

The type of service account, currently only gcp is supported.

Available options:
gcp

Response

Successfully created service account

The service_account object represents a service account for accessing data views.

object
enum<string>
required

The object type, which is always service_account.

Available options:
service_account
type
enum<string>
required

The type of service account, currently only gcp is supported.

Available options:
gcp
id
string
required

The service account identifier.

email
string
required

The email address of the service account.

created_at
string<date-time>
required

The ISO string for when the service account was created.