Create Service Account

Version 4.0.25.18 (latest)

Create a service account with the specified information. This action is restricted to Looker admins.

Calls to this endpoint may only be available for Looker (Google Cloud core).

Request

POST /users/service_accounts
Datatype
Description
Request
HTTP Request
body
HTTP Body
Expand HTTP Body definition...
body
Service Account
Expand ServiceAccount definition...
can
object
Operations the current user is able to perform on this object
id
string
Unique Id of the service account
service_account_name
string
Display name of the service account.
is_service_account
boolean
Indicates whether this user is a service account
is_disabled
boolean
Indicates if the service account is disabled
group_ids
string[]
role_ids
string[]
credentials_api3
created_at
string
Service account creation timestamp
url
string
Link to get this item
query
HTTP Query
Expand HTTP Query definition...
fields
string
Requested fields.

Response

200: Created Service Account

Datatype
Description
(object)
can
object
Operations the current user is able to perform on this object
id
string
Unique Id of the service account
service_account_name
string
Display name of the service account.
is_service_account
boolean
Indicates whether this user is a service account
is_disabled
boolean
Indicates if the service account is disabled
group_ids
string[]
role_ids
string[]
credentials_api3
Expand CredentialsApi3 definition...
can
object
Operations the current user is able to perform on this object
id
string
Unique Id
client_id
string
API key client_id
created_at
string
Timestamp for the creation of this credential
is_disabled
boolean
Has this credential been disabled?
type
string
Short name for the type of this kind of credential
purpose
string
User defined purpose for this credential.
url
string
Link to get this item
created_at
string
Service account creation timestamp
url
string
Link to get this item

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

403: Permission Denied

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link