gateway.openapi_Gateway
get/v1/accounts/{account_id}

Request

Path parameters

account_idstring required

The Account Id

Query parameters

readMaskstring

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

A successful response.

namestring
displayNamestring

Human-readable display name of the account. e.g. "My Account" Must be fewer than 64 characters long.

createTimestring date-time

The creation time of the account.

accountType'ACCOUNT_TYPE_UNSPECIFIED' | 'ENTERPRISE'
emailstring required

The primary email for the account. This is used for billing invoices and account notifications.

state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING'
suspendState'UNSUSPENDED' | 'FAILED_PAYMENTS' | 'CREDIT_DEPLETED' | 'MONTHLY_SPEND_LIMIT_EXCEEDED' | 'BLOCKED_BY_ABUSE_RULE'
updateTimestring date-time

The update time for the account.

productivityOnlyboolean

Marks this account as productivity/coding-only. Set once at account creation.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status